[openwrt/openwrt] tools: require coreutils to build findutils

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


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/405652469fc4d8bd589031c39693434be52d39e7

commit 405652469fc4d8bd589031c39693434be52d39e7
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Fri Sep 27 01:18:03 2024 -0400

    tools: require coreutils to build findutils
    
    The install stage of findutils 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 e86e2789e6..e01d95d0ec 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -143,6 +143,7 @@ else
 endif
 ifneq ($(filter coreutils,$(tools-y)),)
   $(curdir)/elfutils/compile += $(curdir)/coreutils/compile
+  $(curdir)/findutils/compile += $(curdir)/coreutils/compile
   $(curdir)/squashfs4/compile += $(curdir)/coreutils/compile
 endif
 




More information about the lede-commits mailing list