uboot-mediatek: build the KN-1012 chainloader for the image builder

The KN-1012 kernel image embeds this U-Boot, and an image builder build
compiles the kernel of every device in the subtarget. With only another
filogic board selected the binary was never built, so the build failed
when the KN-1012 kernel tried to read it.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
Link: https://github.com/openwrt/openwrt/pull/25757
Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
This commit is contained in:
Aleksei Sviridkin authored and Jonas Jelonek committed 2026-11-24 19:55:29 +01:00
1 parent 727d8d2f8e
commit 71d45d777b
1 file changed
+5
+5
View File
@@ -577,6 +577,11 @@ define U-Boot/mt7981_keenetic_kn-1012
NAME:=Keenetic KN-1012 (chainload)
BUILD_SUBTARGET:=filogic
BUILD_DEVICES:=keenetic_kn-1012 netcraze_nc-1012
DEFAULT:=y if (TARGET_mediatek_filogic_Default || IB \
|| TARGET_mediatek_filogic_DEVICE_keenetic_kn-1012 \
|| TARGET_mediatek_filogic_DEVICE_netcraze_nc-1012 \
|| TARGET_DEVICE_mediatek_filogic_DEVICE_keenetic_kn-1012 \
|| TARGET_DEVICE_mediatek_filogic_DEVICE_netcraze_nc-1012)
UBOOT_CONFIG:=mt7981_keenetic_kn-1012
UBOOT_IMAGE:=u-boot.bin
endef