From e776c9fe4ef9823993e230f2795d4255876e5ca2 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Thu, 26 Sep 2024 23:20:38 -0400 Subject: [PATCH] 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 # macOS Signed-off-by: Michael Pratt Link: https://github.com/openwrt/openwrt/pull/16522 Signed-off-by: Robert Marko --- 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 -- 2.30.2