From: Felix Fietkau Date: Mon, 13 Feb 2017 10:45:43 +0000 (+0100) Subject: sdk: clean scripts/config before packing tarball (FS#504) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=90728c796d328f0c37475799711e88ba87259285;p=openwrt%2Fstaging%2Fwigyori.git sdk: clean scripts/config before packing tarball (FS#504) Avoids shipping potentially incompatible object files and also reduces the tarball size Signed-off-by: Felix Fietkau --- diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 719b659d25..ecaa015595 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -137,6 +137,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.xz: clean find $(SDK_BUILD_DIR) -name .git | $(XARGS) rm -rf find $(SDK_BUILD_DIR) -name .svn | $(XARGS) rm -rf find $(SDK_BUILD_DIR) -name CVS | $(XARGS) rm -rf + -make -C $(SDK_BUILD_DIR)/scripts/config clean (cd $(BUILD_DIR); \ tar -I 'xz -7e' -cf $@ $(SDK_NAME); \ )