Quellcode durchsuchen

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 <[email protected]> # macOS
Signed-off-by: Michael Pratt <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <[email protected]>
Michael Pratt vor 1 Jahr
Ursprung
Commit
7a8fd73548
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      tools/Makefile

+ 1 - 0
tools/Makefile

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