tools: require coreutils to build findutils
authorMichael Pratt <[email protected]>
Fri, 27 Sep 2024 05:18:03 +0000 (01:18 -0400)
committerRobert Marko <[email protected]>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
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 <[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]>
tools/Makefile

index e86e2789e661ce39bab7f98692b6d4549d878155..e01d95d0ecc7c84dc7b460d13888f75fbf32d862 100644 (file)
@@ -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