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@gmail.com> # macOS
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Michael Pratt 2024-09-27 01:18:03 -04:00 committed by Robert Marko
parent e776c9fe4e
commit 405652469f
1 changed files with 1 additions and 0 deletions

View 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