Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Removing COMPAT stuff from kernel



Build a kernel without the varios ``options COMPAT_*''

you can start with the NOCOMPAT config instead of GENERIC - see
$SRC/sys/arch/amd64/conf/*

On Wed, 30 Jul 2025, Vincent DEFERT wrote:

Is there a way to remove all the compatibility code (Linux, 32 bit, etc) when building the kernel? For an embedded use case, I'm 100% sure I will never need it and I'm curious to see how small the kernel can be.

!DSPAM:688a385d16201706619054!



+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index