]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools: require coreutils to build elfutils
authorMichael Pratt <mcpratt@pm.me>
Fri, 27 Sep 2024 03:20:38 +0000 (23:20 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
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>
tools/Makefile

index 81d034f993e02fa841bf46b0c9e99c714e736438..e86e2789e661ce39bab7f98692b6d4549d878155 100644 (file)
@@ -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