ramips: mt7621: use seama-lzma-loader for D-Link DIR-860L B1
authorSzabolcs Hubai <szab.hu@gmail.com>
Wed, 28 Sep 2022 00:55:01 +0000 (02:55 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Nov 2022 20:55:11 +0000 (21:55 +0100)
Fix the LZMA ERROR 1 with a single line of recipe instead of duplicating
"uimage-lzma-loader".

While reviewing my original submission of commit ce1957100411 David
suggested to use $(Device/uimage-lzma-loader), but due to the specific
needs of the vendor bootloader that simple oneliner didn't work.

The new $(Device/seama-lzma-loader) is for those SEAMA capable
bootloaders.

Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
(cherry picked from commit 18801f26485e3a0dcb79dc9f9b174aed5821b758)

target/linux/ramips/image/mt7621.mk

index 94b040e361c89e7363116e461ec4f678854f64f3..adf8382002dd70bf3e863209ca0bc03e14fe1d7a 100644 (file)
@@ -427,11 +427,8 @@ TARGET_DEVICES += dlink_dir-853-r1
 
 define Device/dlink_dir-860l-b1
   $(Device/dsa-migration)
-  $(Device/seama)
+  $(Device/seama-lzma-loader)
   SEAMA_SIGNATURE := wrgac13_dlink.2013gui_dir860lb
-  LOADER_TYPE := bin
-  KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | relocate-kernel | \
-       lzma -a0 | uImage lzma
   IMAGE_SIZE := 16064k
   DEVICE_VENDOR := D-Link
   DEVICE_MODEL := DIR-860L