projects
/
openwrt
/
staging
/
ansuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a8a23
)
imagebuilder: remove existing root filesystem images
author
Felix Fietkau
<nbd@nbd.name>
Fri, 13 Jan 2017 18:21:31 +0000
(19:21 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 13 Jan 2017 18:46:45 +0000
(19:46 +0100)
Reduces tarball size and improves build time
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/imagebuilder/Makefile
patch
|
blob
|
history
diff --git
a/target/imagebuilder/Makefile
b/target/imagebuilder/Makefile
index 8a7c2093b987e5e339138305f05bfd400f3b2174..13eed7e108ca27fd40c05b6e1de144ac53b5e9b0 100644
(file)
--- a/
target/imagebuilder/Makefile
+++ b/
target/imagebuilder/Makefile
@@
-66,6
+66,7
@@
endif
$(PKG_BUILD_DIR)/target/linux/*/patches{,-*}
-cp $(KERNEL_BUILD_DIR)/* $(IB_KDIR)/ # don't copy subdirectories here
-cp $(LINUX_DIR)/.config $(IB_LDIR)/
+ rm -f $(IB_KDIR)/root.*
if [ -x $(LINUX_DIR)/scripts/dtc/dtc ]; then \
$(INSTALL_DIR) $(IB_LDIR)/scripts/dtc; \
$(INSTALL_BIN) $(LINUX_DIR)/scripts/dtc/dtc $(IB_LDIR)/scripts/dtc/dtc; \