From: Shiji Yang Date: Fri, 10 Apr 2026 11:00:26 +0000 (+0800) Subject: uboot-mediatek: use kernel DTC on mediatek ARM targets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03accb46ef121afecfef9e155281df16a604691c;p=thirdparty%2Fopenwrt.git uboot-mediatek: use kernel DTC on mediatek ARM targets The u-boot build for mediatek ARM SoCs doesn't require pylibfdt. We can use pre-build kernel DTC to save some build time. Signed-off-by: Shiji Yang --- diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile index fc002427b81..a11ec25d2e1 100644 --- a/package/boot/uboot-mediatek/Makefile +++ b/package/boot/uboot-mediatek/Makefile @@ -5,7 +5,9 @@ PKG_VERSION:=2026.04 PKG_HASH:=ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd PKG_BUILD_DEPENDS:=!(TARGET_ramips||TARGET_mediatek_mt7623):arm-trusted-firmware-tools/host +ifdef CONFIG_TARGET_ramips UBOOT_USE_INTREE_DTC:=1 +endif include $(INCLUDE_DIR)/u-boot.mk include $(INCLUDE_DIR)/package.mk