Re: Removing COMPAT stuff from kernel

Martin Husemann <[email protected]> Wed, 30 Jul 2025 17:26:50 +0200
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
On Wed, Jul 30, 2025 at 03:20:45PM +0000, Vincent DEFERT wrote:
> Is there a way to remove all the compatibility code (Linux, 32 bit, etc)
> when building the kernel?

Create a custom kernel config file and do something like:

---8<---
include "arch/evbarm/conf/GENERIC"

no options	COMPAT_LINUX
no options	COMPAT_90
--->8---

Martin