summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Pratt2024-09-27 03:20:38 +0000
committerRobert Marko2025-07-26 12:38:08 +0000
commite776c9fe4ef9823993e230f2795d4255876e5ca2 (patch)
tree4f4cbe55c6868bb8da2baacd3ef08de02456fdfe
parentf7fd8303be53598633426830f31b9818b32d2521 (diff)
downloadopenwrt-e776c9fe4ef9823993e230f2795d4255876e5ca2.tar.gz
tools: require coreutils to build elfutils
The version of the rmdir utility in macOS is POSIX-only while elfutils uses the GNU extended options while building. 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>
-rw-r--r--tools/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 81d034f993..e86e2789e6 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -142,6 +142,7 @@ else
tools-$(if $(CONFIG_BUILD_ALL_HOST_TOOLS)$(CONFIG_SDK),y) += coreutils
endif
ifneq ($(filter coreutils,$(tools-y)),)
+ $(curdir)/elfutils/compile += $(curdir)/coreutils/compile
$(curdir)/squashfs4/compile += $(curdir)/coreutils/compile
endif