From 96f57fa5e43ee35478a7f0a5788624fc487db798 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 14 Mar 2017 11:30:36 -0700 Subject: [PATCH] package/binutils: use macro to extract Xtensa overlay Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Signed-off-by: Max Filippov Signed-off-by: Thomas Petazzoni --- package/binutils/binutils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2