summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_gif
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2005-10-18 07:54:02 +0000
committeryar <yar@FreeBSD.org>2005-10-18 07:54:02 +0000
commit153abf782e100cbbde6302049d288abd03521845 (patch)
treef39ae0285a162d9e04517ff61aec8f5b85b319e2 /sys/modules/if_gif
parentd0b872065180286beaab6d741fc3c03027320893 (diff)
downloadFreeBSD-src-153abf782e100cbbde6302049d288abd03521845.zip
FreeBSD-src-153abf782e100cbbde6302049d288abd03521845.tar.gz
In this case, disable wrapping of fake opt_*.h targets in
"if defined(KERNBUILDDIR)" for now since the new way of building modules with the kernel can't handle dynamic SRCS depending on build options yet.
Diffstat (limited to 'sys/modules/if_gif')
-rw-r--r--sys/modules/if_gif/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile
index 0aa4dee..bc52dcf 100644
--- a/sys/modules/if_gif/Makefile
+++ b/sys/modules/if_gif/Makefile
@@ -9,7 +9,9 @@ SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
SRCS+= in6_gif.c
.endif
-.if !defined(KERNBUILDDIR)
+# XXX The new way of building modules with the kernel can't handle
+# dynamic SRCS depending on build options yet.
+##.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
@@ -20,6 +22,6 @@ opt_inet6.h:
opt_mrouting.h:
echo "#define MROUTING 1" > ${.TARGET}
-.endif
+##.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud