packages: do not use TAR_STRIP_COMPONENTS, but directly --strip-components

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni
2015-07-12 13:51:59 +02:00
parent 5e0ccea25f
commit 22ed697d11
6 changed files with 10 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ endef
define HOST_GCC_EXTRACT_CMDS
$(call suitable-extractor,$(GCC_SOURCE)) $(DL_DIR)/$(GCC_SOURCE) | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(@D) \
$(TAR) --strip-components=1 -C $(@D) \
--exclude='libjava/*' \
--exclude='libgo/*' \
--exclude='gcc/testsuite/*' \