Re: Compiling NetBSD-HEAD kernel sources

2021-07-01 Thread Greg A. Woods
At Thu, 1 Jul 2021 14:43:26 +0200 (CEST), neit...@hackett.marshlabs.gaertner.de (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 ov

Re: Compiling NetBSD-HEAD kernel sources

2021-07-01 Thread Todd Gruhn
HM -- 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

Re: Compiling NetBSD-HEAD kernel sources

2021-07-01 Thread Martin Neitzel
> 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

Re: Compiling NetBSD-HEAD kernel sources

2021-06-30 Thread GermMint
On 2021-06-29 4:04 a.m., Todd Gruhn wrote: I have never tried writing my own NetBSD config. I always started with GENERIC, then... That's how everyone does it ;p What you were being suggested is keep track of those lines you remove (or add if any) and apply to the up-to-date GENERIC.

Re: Compiling NetBSD-HEAD kernel sources

2021-06-29 Thread Michael Cheponis
I, too, have started w/GENERIC and commented out h/w I don't have; these days, I don't bother, because we have plenty of memory & disk (relatively on modern machines). AND, if you (can) stick w/GENERIC -- then you can compare against the Official Release if there are problems. Another reason I

Re: Compiling NetBSD-HEAD kernel sources

2021-06-29 Thread Todd Gruhn
I have never tried writing my own NetBSD config. I always started with GENERIC, then commented out any hardware that is not on my system. On Tue, Jun 29, 2021 at 12:50 AM Martin Husemann wrote: > > On Mon, Jun 28, 2021 at 08:48:31PM -0400, Todd Gruhn wrote: > > Oh, we > > I write my own

Re: Compiling NetBSD-HEAD kernel sources

2021-06-28 Thread Todd Gruhn
Oh, we Thanks On Mon, Jun 28, 2021 at 4:02 PM Chavdar Ivanov wrote: > > On Mon, 28 Jun 2021 at 19:51, Todd Gruhn wrote: > > > > This applies to future releases of NetBSD-HEAD also? > > One can't be sure, future versions may have modifications which make > them impossible to modify with a

Re: Compiling NetBSD-HEAD kernel sources

2021-06-28 Thread Todd Gruhn
This applies to future releases of NetBSD-HEAD also? On Mon, Jun 28, 2021 at 1:33 PM Chavdar Ivanov wrote: > > On Mon, 28 Jun 2021 at 18:29, Todd Gruhn wrote: > > > > When I configure, and compile a kernel from HEAD-sources, can I use a kernel > > config-file from previous NetBSD versions? >

Re: Compiling NetBSD-HEAD kernel sources

2021-06-28 Thread Chavdar Ivanov
On Mon, 28 Jun 2021 at 18:29, Todd Gruhn wrote: > > When I configure, and compile a kernel from HEAD-sources, can I use a kernel > config-file from previous NetBSD versions? Most likely not. If I were you, I would diff -u the early GENERIC and your own configuration and try to apply the

Compiling NetBSD-HEAD kernel sources

2021-06-28 Thread Todd Gruhn
When I configure, and compile a kernel from HEAD-sources, can I use a kernel config-file from previous NetBSD versions?