OpenWrt add dependency to swig for U-Boot builds

Lucian Cristian luci at powerneth.ro
Fri Feb 5 10:32:38 EST 2021


On 31.01.2021 20:43, Hauke Mehrtens wrote:
> 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 bots.
> 
> I was just trying to update sunxi U-Boot to 2021.01 and the binman usage 
> changed again, so it needs more adaptations.
> 
> Building swig in OpenWrt tools will not be easy. We needs swig with 
> python bindings and this version needs the python development headers to 
> build.
> 
> I would like to add swig as an official dependency to OpenWrt, we could 
> make it depend on the target if this is possible.
> 
> Does anyone have an opinion on this topic?
> 
> Hauke
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
Hi,

Please do so, it's a small inconvenience oppose to always patch the 
u-boot sources

Regards,

Lucian



More information about the openwrt-devel mailing list