Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2007 01:04:56 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 124861 for review
Message-ID:  <200708080104.l7814uF8065939@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124861

Change 124861 by zec@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708080104.l7814uF8065939>