arch/xtensa: accept the overlay to be compressed
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b3b6070622
commit
0645fb8084
@ -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)
|
# $(call arch-xtensa-overlay-extract,/path/to/overlay.tar,$(@D),gcc)
|
||||||
################################################################################
|
################################################################################
|
||||||
define arch-xtensa-overlay-extract
|
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
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user