diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-02-13 11:45:43 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-13 11:47:12 +0100 |
commit | 034a80009cbcd6251a7aed78a4603e4e27cb725b (patch) | |
tree | 4d0d23496cd96c4fc87854331a220e2595f2eecf /target/sdk/Makefile | |
parent | e5060b32e5c662899971f450ea0983005e02ec57 (diff) | |
download | mtk-20170518-034a80009cbcd6251a7aed78a4603e4e27cb725b.zip mtk-20170518-034a80009cbcd6251a7aed78a4603e4e27cb725b.tar.gz mtk-20170518-034a80009cbcd6251a7aed78a4603e4e27cb725b.tar.bz2 |
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 <nbd@nbd.name>
Diffstat (limited to 'target/sdk/Makefile')
-rw-r--r-- | target/sdk/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 5108cec..bec76e5 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); \ ) |