NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiling NetBSD-HEAD kernel sources



At Thu,  1 Jul 2021 14:43:26 +0200 (CEST), neitzel%hackett.marshlabs.gaertner.de@localhost (Martin Neitzel) wrote:
Subject: Re: Compiling NetBSD-HEAD kernel sources
>
> > I *think* the correct way is to make your _own_, almost empty kernel
> > config, and include (say, `GENERIC'.) then override settings in your own
> > config. I've done it, but somehow it feels more hazy than plain
> > modifying GENERIC
>
> Even easier:  the stock GENERIC config contains the conditional include
>
> 	# Pull in optional local configuration
> 	cinclude "arch/amd64/conf/GENERIC.local"
>
> So just create a GENERIC.local file with your tweaks to build
> an "almost-GENERIC" kernel.

Unfortunately that line is not at the end of the GENERIC file, so it can
be a little less useful than it could be....

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpf_G79yvqK7.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index