[source] sdk: clean scripts/config before packing tarball (FS#504)
LEDE Commits
lede-commits at lists.infradead.org
Mon Feb 13 02:47:27 PST 2017
nbd pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/034a80009cbcd6251a7aed78a4603e4e27cb725b
commit 034a80009cbcd6251a7aed78a4603e4e27cb725b
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Feb 13 11:45:43 2017 +0100
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 at nbd.name>
---
target/sdk/Makefile | 1 +
1 file changed, 1 insertion(+)
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); \
)
More information about the lede-commits
mailing list