diff options
Diffstat (limited to 'sys/modules/linux/Makefile')
-rw-r--r-- | sys/modules/linux/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index e446790..213fa4d 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> |