Browse Source

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 <[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]>
Michael Pratt 1 year ago
parent
commit
e776c9fe4e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/Makefile

+ 1 - 0
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