Re: config: conditional at clause (was: vio9p vs. GENERIC.local vs. XEN3_DOM[0U])

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On Tue, Aug 13, 2024 at 01:38:56AM -0700, Paul Goyette wrote:
> Wouldn't it make more sense for the XEN kernels to #include XEN.local
> rather than GENERIC.local?

Exactly. Every "generic" kernel should include its own ${name}.local,
like e.g. GENERIC64 and GENERIC64.local vs GENERIC and GENERIC.local
do on evbarm.

Including ${some_other_name}.local is a confusing (and probably just a
copy & pasto bug).

Maybe GENERIC should be split into a common part and both XEN* and GENERIC
should include that common part, then do their special things, and
at the end do the cinclude *.local for their "own" local part.


Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.