mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-22 14:43:30 +00:00
imagebuilder: remove existing debug kernel image
Reduces tarball size and improves build time Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
d1514e8f84
commit
619c8fa922
@ -67,6 +67,7 @@ endif
|
||||
-cp $(KERNEL_BUILD_DIR)/* $(IB_KDIR)/ # don't copy subdirectories here
|
||||
-cp $(LINUX_DIR)/.config $(IB_LDIR)/
|
||||
rm -f $(IB_KDIR)/root.*
|
||||
rm -f $(IB_KDIR)/vmlinux.debug
|
||||
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; \
|
||||
|
Loading…
Reference in New Issue
Block a user