]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-mediatek: use kernel DTC on mediatek ARM targets
authorShiji Yang <yangshiji66@outlook.com>
Fri, 10 Apr 2026 11:00:26 +0000 (19:00 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 12 Jun 2026 12:55:41 +0000 (13:55 +0100)
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 <yangshiji66@outlook.com>
package/boot/uboot-mediatek/Makefile

index fc002427b815253544067fa6d0c7cb418e861e37..a11ec25d2e1941dbbb73e0d9d17e0631ca7c9ada 100644 (file)
@@ -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