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>
This commit is contained in:
parent
f7fd8303be
commit
e776c9fe4e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue