From 0645fb80843e45ecc3843f5013801233f37e77eb Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 9 Jul 2017 05:21:57 -0700 Subject: [PATCH] arch/xtensa: accept the overlay to be compressed Signed-off-by: "Yann E. MORIN" Signed-off-by: Max Filippov Signed-off-by: Thomas Petazzoni --- arch/arch.mk.xtensa | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arch.mk.xtensa b/arch/arch.mk.xtensa index 6d9fd63d12..ecb9c1086a 100644 --- a/arch/arch.mk.xtensa +++ b/arch/arch.mk.xtensa @@ -21,5 +21,7 @@ ARCH_XTENSA_OVERLAY_FILE = $(call qstrip,$(BR2_XTENSA_OVERLAY_FILE)) # $(call arch-xtensa-overlay-extract,/path/to/overlay.tar,$(@D),gcc) ################################################################################ define arch-xtensa-overlay-extract - tar xf $(ARCH_XTENSA_OVERLAY_FILE) -C $(1) --strip-components=1 $(2) + $(call suitable-extractor,$(ARCH_XTENSA_OVERLAY_FILE)) \ + $(ARCH_XTENSA_OVERLAY_FILE) | \ + $(TAR) --strip-components=1 -C $(1) $(TAR_OPTIONS) - $(2) endef