[09/23] package/gcc: use macro to extract Xtensa overlay

Submitted by Max Filippov on March 14, 2017, 6:30 p.m.

Details

Message ID 1489516252-3803-10-git-send-email-jcmvbkbc@gmail.com
State New
Headers show

Commit Message

Max Filippov March 14, 2017, 6:30 p.m.
From: "Yann E. MORIN" <yann.morin.1998@free.fr>

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>
---
 package/gcc/gcc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index e50e1e0..b52f945 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -25,7 +25,7 @@  endif
 # Xtensa special hook
 #
 define HOST_GCC_XTENSA_OVERLAY_EXTRACT
-	tar xf $(ARCH_XTENSA_OVERLAY_TAR) -C $(@D) --strip-components=1 gcc
+	$(call arch-xtensa-overlay-extract,$(@D),gcc)
 endef
 
 #