package/binutils: use macro to extract Xtensa overlay
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
8eba8e144c
commit
96f57fa5e4
@ -123,7 +123,7 @@ endif
|
||||
|
||||
ifneq ($(ARCH_XTENSA_CORE_NAME),)
|
||||
define BINUTILS_XTENSA_PRE_PATCH
|
||||
tar xf $(ARCH_XTENSA_OVERLAY_TAR) -C $(@D) --strip-components=1 binutils
|
||||
$(call arch-xtensa-overlay-extract,$(@D),binutils)
|
||||
endef
|
||||
BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH
|
||||
HOST_BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH
|
||||
|
Loading…
Reference in New Issue
Block a user