summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-09-15 15:09:35 +0000
committered <ed@FreeBSD.org>2008-09-15 15:09:35 +0000
commit98f8e6b0ee14979edff117860d87a0511ebdb11f (patch)
tree8701bfd7aa50e5ddc7e68678a3e539f52e78215f /sys/modules
parent992112e8aae569900b58bbed8aca40e7692250c3 (diff)
downloadFreeBSD-src-98f8e6b0ee14979edff117860d87a0511ebdb11f.zip
FreeBSD-src-98f8e6b0ee14979edff117860d87a0511ebdb11f.tar.gz
Allow COMPAT_SVR4 to be built without COMPAT_43.
It seems we only depend on COMPAT_43 to implement the send() and recv() routines. We can easily implement them using sendto() and recvfrom(), just like we do inside our very own C library. I wasn't able to really test it, apart from simple compilation testing. I've heard rumours that COMPAT_SVR4 is broken inside execve() anyway. It's still worth to fix this, because I suspect we'll get rid of COMPAT_43 somewhere in the future... Reviewed by: rdivacky Discussed with: jhb
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/svr4/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index 6229ec9..447d048 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -24,14 +24,9 @@ svr4_locore.o: svr4_locore.s svr4_assym.h
svr4_genassym.o: svr4_genassym.c svr4.h @ machine
${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
-.if !defined(KERNBUILDDIR)
-opt_compat.h:
- echo "#define COMPAT_43 1" > ${.TARGET}
-
-.if defined(DEBUG)
+.if !defined(KERNBUILDDIR) && defined(DEBUG)
opt_svr4.h:
echo "#define DEBUG_SVR4 1" > ${.TARGET}
.endif
-.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud