From f3a891e560a705a6f12ede405bbbf6117a2f41d3 Mon Sep 17 00:00:00 2001 From: Mikhail Zhilkin Date: Wed, 13 May 2026 20:55:57 +0300 Subject: [PATCH] uboot-mediatek: fix bl2 dependency for Qihoo 360T7 This commit fixes wrong bl2 dependency which leads to build errors if non-ubi ddr3-1866 bl2 is not exists in the build dir. Fixes: 9a87c4b ("uboot-mediatek: add Qihoo 360T7 (UBI) support") Signed-off-by: Mikhail Zhilkin Link: https://github.com/openwrt/openwrt/pull/23354 Signed-off-by: Robert Marko --- package/boot/uboot-mediatek/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile index 9f6d15dcd9c..87d7741ff04 100644 --- a/package/boot/uboot-mediatek/Makefile +++ b/package/boot/uboot-mediatek/Makefile @@ -645,7 +645,7 @@ define U-Boot/mt7981_qihoo_360t7-ubi BUILD_DEVICES:=qihoo_360t7-ubi UBOOT_CONFIG:=mt7981_qihoo-360t7-ubi UBOOT_IMAGE:=u-boot.fip - BL2_BOOTDEV:=spim-nand + BL2_BOOTDEV:=spim-nand-ubi BL2_SOC:=mt7981 BL2_DDRTYPE:=ddr3-1866 DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ubi-ddr3-1866