diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-03-14 11:30:32 -0700 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-26 15:49:22 +0200 |
commit | 12d97d01db7e054447241d1a6af0bb0c258e439e (patch) | |
tree | 5b5867957293cdaffade3fe7e39b6f4193f41407 /package/binutils/binutils.mk | |
parent | bcecbed654c517cf9349c7e108d014a0831d3aed (diff) | |
download | buildroot-12d97d01db7e054447241d1a6af0bb0c258e439e.tar.gz buildroot-12d97d01db7e054447241d1a6af0bb0c258e439e.zip |
package/binutils: use the Xtensa variables
... instead of re-computing them over-and-over-again.
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>
Diffstat (limited to 'package/binutils/binutils.mk')
-rw-r--r-- | package/binutils/binutils.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 6d29f245e1..914393ef00 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -121,11 +121,9 @@ define BINUTILS_INSTALL_TARGET_CMDS endef endif -XTENSA_CORE_NAME = $(call qstrip, $(BR2_XTENSA_CORE_NAME)) -ifneq ($(XTENSA_CORE_NAME),) +ifneq ($(ARCH_XTENSA_CORE_NAME),) define BINUTILS_XTENSA_PRE_PATCH - tar xf $(BR2_XTENSA_OVERLAY_DIR)/xtensa_$(XTENSA_CORE_NAME).tar \ - -C $(@D) --strip-components=1 binutils + tar xf $(ARCH_XTENSA_OVERLAY_TAR) -C $(@D) --strip-components=1 binutils endef BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH HOST_BINUTILS_PRE_PATCH_HOOKS += BINUTILS_XTENSA_PRE_PATCH |