OpenWrt add dependency to swig for U-Boot builds
ynezz at true.cz
Sun Feb 14 17:20:32 EST 2021
Hauke Mehrtens <hauke at hauke-m.de> [2021-01-31 19:43:42]:
> The U-Boot build for more and more SoCs is using binman by default to
> combine the images (SPL, U-Boot, ...). Binman is build from the U-Boot
> project and it needs swig to build. We have multiple patches in OpenWrt to
> remove this dependency from U-Boot, but it costs more and more time to
> revert back to the old code. We have them in sunxi and rockchip U-Boot, the
> Mediatek U-Boot build failed some time ago because of missing swig in build
seems like it's not just binman, in i.mx6 its dtoc used for SPL
dt-structs-gen.h/dt-platdata.c file generation out of DTBs.
> Does anyone have an opinion on this topic?
I don't see other option ATM.
More information about the openwrt-devel