diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-03-14 11:30:36 -0700 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-26 15:50:06 +0200 |
| commit | 96f57fa5e43ee35478a7f0a5788624fc487db798 (patch) | |
| tree | 4e99fe09e224db8d26f4d0b1a1bf41155f6d96d8 | |
| parent | 8eba8e144c52922f6ad94e5c4580f12fe0b2cdb0 (diff) | |
| download | buildroot-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.mk | 2 |
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 |

