From 77216c368f3ae65c3a9fc504d28d3fadd46d6d8d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 16 Oct 2022 02:04:59 +0200 Subject: Fix non-Linux builds Various tools are Linuxish and should thus only attempted to build on Linux only. Some features are also Linux-only. Also, libresolv is used on all GNU platforms, notably GNU/Hurd and GNU/kfreeBSD. Signed-off-by: Samuel Thibault Signed-off-by: Denys Vlasenko --- klibc-utils/run-init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'klibc-utils') diff --git a/klibc-utils/run-init.c b/klibc-utils/run-init.c index 73c677bab..77fc0e60c 100644 --- a/klibc-utils/run-init.c +++ b/klibc-utils/run-init.c @@ -8,6 +8,7 @@ //config:config RUN_INIT //config: bool "run-init (7.7 kb)" //config: default y +//config: select PLATFORM_LINUX //config: help //config: The run-init utility is used from initramfs to select a new //config: root device. Under initramfs, you have to use this instead of -- cgit v1.2.3