PERFORCE change 124861 for review
Marko Zec
zec at FreeBSD.org
Tue Aug 7 18:04:57 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=124861
Change 124861 by zec at zec_tpx32 on 2007/08/08 01:04:43
Do not attempt to build ng_wormhole as a module for
nooptions VIMAGE kernel configs, since ng_wormhole is
pointless on clean kernels, plus it won't even compile
there (neither now nor ever in the future).
Affected files ...
.. //depot/projects/vimage/src/sys/modules/netgraph/Makefile#5 edit
Differences ...
==== //depot/projects/vimage/src/sys/modules/netgraph/Makefile#5 (text+ko) ====
@@ -52,7 +52,7 @@
UI \
vjc \
vlan \
- wormhole
+ ${_wormhole}
.if ${MACHINE_ARCH} == "i386"
_sync_ar= sync_ar
@@ -67,4 +67,9 @@
_mppc= mppc
.endif
+VIMAGE!= grep VIMAGE ${KERNBUILDDIR}/opt_vimage.h | cut -d" " -f3 || true
+.if ${VIMAGE} == 1
+_wormhole= wormhole
+.endif
+
.include <bsd.subdir.mk>
More information about the p4-projects
mailing list