tools: require coreutils to build util-linux

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

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

Tested-by: Georgi Valkov <gvalkov@gmail.com> # macOS
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Michael Pratt 2024-09-27 00:20:38 -04:00 committed by Robert Marko
parent 405652469f
commit 7a8fd73548
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,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)