summaryrefslogtreecommitdiff
path: root/sys/modules/linux
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2005-10-14 23:30:17 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2005-10-14 23:30:17 +0000
commit822923447e454b30d310cb46903c9ddeca9f0a7a (patch)
tree40653d874a438a3202bb62dd66566bfd5b1386c1 /sys/modules/linux
parent10d645b7e5a073fc2d4c2bd7472966b4381caf7c (diff)
Notes
Diffstat (limited to 'sys/modules/linux')
-rw-r--r--sys/modules/linux/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index e446790c0a27..213fa4d5e80c 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -37,10 +37,12 @@ linux_locore.o: linux_locore.s linux_assym.h
linux_genassym.o: linux_genassym.c linux.h @ machine
${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
+.if !defined(KERNBUILDDIR)
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
opt_inet6.h:
echo "#define INET6 1" > opt_inet6.h
+.endif
.include <bsd.kmod.mk>