[openwrt/openwrt] tools: require coreutils to build elfutils
LEDE Commits
lede-commits at lists.infradead.org
Sat Jul 26 05:38:45 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e776c9fe4ef9823993e230f2795d4255876e5ca2
commit e776c9fe4ef9823993e230f2795d4255876e5ca2
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Thu Sep 26 23:20:38 2024 -0400
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 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 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
More information about the lede-commits
mailing list