uboot-mediatek maybe needs swig

Peter Naulls peter at chocky.org
Thu Nov 17 08:36:03 PST 2022


I needed to add this in my build:

diff --git a/package/boot/uboot-mediatek/Makefile 
b/package/boot/uboot-mediatek/Makefile
index 9d823ec698..ac8e5dd0f3 100644
--- a/package/boot/uboot-mediatek/Makefile
+++ b/package/boot/uboot-mediatek/Makefile
@@ -3,7 +3,7 @@ include $(INCLUDE_DIR)/kernel.mk

  PKG_VERSION:=2022.10
  PKG_HASH:=50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8
-PKG_BUILD_DEPENDS:=arm-trusted-firmware-tools/host
+PKG_BUILD_DEPENDS:=arm-trusted-firmware-tools/host swig/host

  include $(INCLUDE_DIR)/u-boot.mk
  include $(INCLUDE_DIR)/package.mk


I do see that some of the other versions of u-boot have patches to avoid using
it, (e.g, rockchip), so I don't know if it's really needed.

Also, I'm building for mt7621 only (ramips), and this build brings in a lot
of ARM stuff too; perhaps the dependencies need to be split up some.




More information about the openwrt-devel mailing list