[openwrt/openwrt] tools: require coreutils to build util-linux

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 26 05:38:47 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7a8fd735489e6d02ecccfe63ffdf7c3694ee8dbc

commit 7a8fd735489e6d02ecccfe63ffdf7c3694ee8dbc
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Fri Sep 27 00:20:38 2024 -0400

    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 at gmail.com> # macOS
    Signed-off-by: Michael Pratt <mcpratt at pm.me>
    Link: https://github.com/openwrt/openwrt/pull/16522
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 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)




More information about the lede-commits mailing list