From 1e5d014ba237cf47092c41cf3657ec64d3b99b41 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Sat, 18 Apr 2020 13:40:31 +0800 Subject: [PATCH] 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 --- target/linux/ramips/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index a966ba43490..f93ea8ab2ae 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