On Thu, Jun 26, 2025 at 08:10:13AM +0200, Thomas Weißschuh wrote:
Building userspace applications through the kbuild "userprogs" framework requires a libc. Kernel toolchains often do not contain a libc. In this case it is useful to use the nolibc library from the kernel tree. Nolibc does not support all architectures and requires compiler flags.
Add a kconfig option, so users can know where it is available and provide a variable for common options.
Signed-off-by: Thomas Weißschuh thomas.weissschuh@linutronix.de
MAINTAINERS | 2 ++ init/Kconfig | 2 ++ init/Kconfig.nolibc | 15 +++++++++++++++ init/Makefile.nolibc | 13 +++++++++++++ 4 files changed, 32 insertions(+)
Reviewed-by: Nicolas Schier n.schier@avm.de