summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-03-14 11:30:36 -0700
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-26 15:50:06 +0200
commit96f57fa5e43ee35478a7f0a5788624fc487db798 (patch)
tree4e99fe09e224db8d26f4d0b1a1bf41155f6d96d8
parent8eba8e144c52922f6ad94e5c4580f12fe0b2cdb0 (diff)
downloadbuildroot-96f57fa5e43ee35478a7f0a5788624fc487db798.tar.gz
buildroot-96f57fa5e43ee35478a7f0a5788624fc487db798.zip
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>
-rw-r--r--package/binutils/binutils.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 914393ef00..5ab346c9e3 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -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
OpenPOWER on IntegriCloud