[LEDE-DEV] [PATCH 2/2] target/toolchain: use proper tar macro and separate xz tool

Koen Vandeputte koen.vandeputte at ncentric.com
Mon Sep 4 08:24:23 PDT 2017


Signed-off-by: Koen Vandeputte <koen.vandeputte at ncentric.com>
---
 target/toolchain/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/toolchain/Makefile b/target/toolchain/Makefile
index da1a6d2..a20410b 100644
--- a/target/toolchain/Makefile
+++ b/target/toolchain/Makefile
@@ -59,7 +59,7 @@ $(BIN_DIR)/$(TOOLCHAIN_NAME).tar.xz: clean
 	find $(TOOLCHAIN_BUILD_DIR) -name CVS | $(XARGS) rm -rf
 	mkdir -p $(BIN_DIR)
 	(cd $(BUILD_DIR); \
-		tar cfJ $@ $(TOOLCHAIN_NAME); \
+		$(TAR) -I 'xz -7e' -cf $@ $(TOOLCHAIN_NAME); \
 	)
 
 download:
-- 
2.7.4




More information about the Lede-dev mailing list