From 7a8fd735489e6d02ecccfe63ffdf7c3694ee8dbc Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Fri, 27 Sep 2024 00:20:38 -0400 Subject: [PATCH] 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 # macOS Signed-off-by: Michael Pratt Link: https://github.com/openwrt/openwrt/pull/16522 Signed-off-by: Robert Marko --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/Makefile b/tools/Makefile index e01d95d0ec..800647762f 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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)