HMMMMM -- I like that idea.

What I been doing is I take ./conf/GENERIC, copy to a new file, then
edit the new file by
commenting out all the devices not on my system  (thats alot!). I save
this conf in CVS.

How well can I get this idea to work with NetBSD-HEAD?

On Thu, Jul 1, 2021 at 8:43 AM Martin Neitzel
<[email protected]> wrote:
>
> > 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.
>
>                                                 Martin Neitzel

Reply via email to