Re: Removing COMPAT stuff from kernel

Greg Troxel <[email protected]> Wed, 30 Jul 2025 11:31:19 -0400
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Vincent DEFERT <[email protected]> writes:

> On 30/07/2025 17:26, Martin Husemann wrote:
>> no options	COMPAT_LINUX
>> no options	COMPAT_90
> This is what I was missing, thank you!

If you are really trying to do "get rid of everything you don't need"
instead of "I don't want COMPAT", then you may find taking GENERIC and
only including what you need to be easier, vs "no" for everything you
don't.  That can include hardware, pseudo-devices and options like
COMPAT.

The tricky part is lines that you don't entirely understand, making it
hard to tell if you need what they do.