From: Chuanhong Guo Date: Sat, 18 Apr 2020 05:40:31 +0000 (+0800) Subject: ramips: don't reuse KERNEL_DTB for lzma-loader X-Git-Tag: v21.02.0-rc1~3036 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1e5d014ba237cf47092c41cf3657ec64d3b99b41;p=openwrt%2Fstaging%2Fhauke.git ramips: don't reuse KERNEL_DTB for lzma-loader mt7621 overrides KERNEL_DTB to limit dictionary size, which isn't needed for our lzma loader. This saves 15KB on mt7621 devices using uimage-lzma-loader. Signed-off-by: Chuanhong Guo --- diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index a966ba4349..f93ea8ab2a 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -39,7 +39,7 @@ endef define Device/uimage-lzma-loader LOADER_TYPE := bin - KERNEL := $(KERNEL_DTB) | loader-kernel | uImage none + KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | uImage none endef define Device/seama