Date: Tue, 6 Aug 2002 20:52:30 +0200 From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx> To: arch@FreeBSD.ORG Cc: dev-null@NUXI.com, rwatson@FreeBSD.ORG Subject: Re: Conditionally building modules based on kernel options Message-ID: <20020806205230.00106c25.corecode@corecode.ath.cx> In-Reply-To: <20020806165901.GB18409@dragon.nuxi.com> References: <Pine.NEB.3.96L.1020805121116.80930A-100000@fledge.watson.org> <20020806165901.GB18409@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=.E9ABVOxVMeeloS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 6 Aug 2002 09:59:01 -0700 David O'Brien wrote: > On Mon, Aug 05, 2002 at 12:19:48PM -0400, Robert Watson wrote: > > Index: src/sys/conf/kern.pre.mk > > =================================================================== > > RCS file: /home/ncvs/src/sys/conf/kern.pre.mk,v > > retrieving revision 1.16 > > diff -u -r1.16 kern.pre.mk > > --- src/sys/conf/kern.pre.mk 22 Jul 2002 00:15:01 -0000 1.16 > > +++ src/sys/conf/kern.pre.mk 2 Aug 2002 22:20:33 -0000 > > @@ -89,7 +89,7 @@ > > # MKMODULESENV is set here so that port makefiles can augment > > # them. > > > > -MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR} > > +MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR} AUTOMATIC_BUILD=yes > Please state (ie, document) what the AUTOMATIC_BUILD knob is supose to > acomplish. i thought of this: o when building modules as dependency of the standard buildkernel stuff, one can prevent these modules to be built if the user didn't put options MAC into his KERNCONF. o if user does cd sys/modules && make himself, there needn't be a compile/KERNCONF directory, thus we don't know if user didn't choose MAC. AUTOMATIC_BUILD is just a knob to tell sys/modules/Makefile wherer it has been invoked by a buildkernel or has been invoked manually. cheers simon ps: if some sentences don't make any sense, please forgive me, i just woke up :) -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.E9ABVOxVMeeloS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9UBrxr5S+dk6z85oRAh2qAKCTfM62MFfgrC2uKJ69ouf99D+TOwCeO9F1 cGBYv7e3ojvycrzZUkHXcIY= =fSA/ -----END PGP SIGNATURE----- --=.E9ABVOxVMeeloS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020806205230.00106c25.corecode>