On Sun, Mar 25, 2001 at 11:23:20AM -0700, Warner Losh wrote:
> In message <[EMAIL PROTECTED]> Maxime Henrion writes:
> : Here is a patch to select the modules you want and don't want.
> : The patch is for /usr/src/sys/modules/Makefile from RELENG_4.
>
> My patch is even simpler:
>
> Index: Makefile
> ===================================================================
> RCS file: /home/imp/FreeBSD/CVS/src/sys/modules/Makefile,v
> retrieving revision 1.171
> diff -u -r1.171 Makefile
> --- Makefile 2001/03/09 20:10:30 1.171
> +++ Makefile 2001/03/19 19:17:28
> @@ -30,4 +30,8 @@
> SUBDIR+=osf1
> .endif
>
> +.if defined(MODULES_OVERRIDE)
> +SUBDIR=${MODULES_OVERRIDE}
> +.endif
> +
> .include <bsd.subdir.mk>
>
>
> I then put make
>
> makeoptions MODULES_OVERRIDE="pcic pccard cardbus pccbb oldcard"
>
> in my config file. This gives you the ability to opt into just those
> modules you want. Yes, I know that it computes SUBDIR twice in
> modules/Makefile, but I did that to minimize diffs between my Makefile
> and the real one for easier merging.
See -arch for a detailed discussion :)
G'luck,
Peter
--
What would this sentence be like if pi were 3?
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message