mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
brcm63xx: delete uncompressed kernels after use
Delete the dtb appended, uncompressed kernels after having compressed them, so they don't end in the image builder. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45869
This commit is contained in:
parent
43c0a725af
commit
9c6945d7a1
@ -167,6 +167,7 @@ define Image/PrepareLoaderDTB
|
||||
# append dtb to vmlinux, then build a standard LZMA loader
|
||||
cat $(KDIR)/vmlinux$(1) $(DTS_DIR)/$(2).dtb > $(KDIR)/vmlinux$(1)-$(2)
|
||||
$(call Image/PrepareLoader,$(1)-$(2),$(3),$(4))
|
||||
rm -f $(KDIR)/vmlinux$(1)-$(2)
|
||||
endef
|
||||
|
||||
define Image/PrepareCFELzmaKernel
|
||||
@ -198,6 +199,7 @@ define Image/PrepareCFELzmaKernelDTB
|
||||
$(LINUX_DIR)/scripts/dtc/dtc -O dtb -o $(DTS_DIR)/$(1).dtb ../dts/$(1).dts
|
||||
cat $(KDIR)/vmlinux $(DTS_DIR)/$(1).dtb > $(KDIR)/vmlinux-$(1)
|
||||
$(call Image/PrepareCFELzmaKernel,-$(1))
|
||||
rm -f $(KDIR)/vmlinux-$(1)
|
||||
endef
|
||||
|
||||
define Image/Prepare
|
||||
|
Loading…
x
Reference in New Issue
Block a user