tools: require coreutils to build util-linux

The install stage of util-linux uses the install utility,
which is provided to macOS by coreutils.

Before, Make coincidentally built them in the right order,
this makes the prerequisite explicit.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
This commit is contained in:
Michael Pratt 2024-09-27 00:20:38 -04:00
parent 21738e7778
commit 2f3c5c0077

View File

@ -142,6 +142,7 @@ ifneq ($(filter coreutils,$(tools-y)),)
$(curdir)/elfutils/compile += $(curdir)/coreutils/compile
$(curdir)/findutils/compile += $(curdir)/coreutils/compile
$(curdir)/squashfs4/compile += $(curdir)/coreutils/compile
$(curdir)/util-linux/compile += $(curdir)/coreutils/compile
endif
ifeq ($(HOST_OS),Darwin)