W dniu 31.03.2019 o 00:01, Hauke Mehrtens pisze:
> On 3/28/19 5:20 PM, Tomasz Maciej Nowak wrote:
>> Add U-Boot for NVIDIA Tegra based boards, with the first being CompuLab
>> TrimSlice. This is part of initial support for this board.
>>
>> Signed-off-by: Tomasz Maciej Nowak <tome...@o2.pl>
>> ---
> 
> U-Boot uses binman for tegra and binman needs swig to build.
> In mainline U-Boot sunxi, tegra and x86 are using binman for building
> and depend on swig at build time. On sunxi I patched this dependency
> out, but I do not know how we should handle this here?

Thanks for pointing this out. Looks like tegra has already definition in place 
for building without binman[1], so deleting 'select BINMAN' from 
arch/arm/mach-tegra/Kconfig lets the package build without swig.
After testing on the hardware, I'll send next iteration of the patches.

> 
> "apt install swig" solves the problem for me, I do not know if we can
> easily build swig in the tools and if this would be sufficient.

Following documentation[2] it needs libpcre, but I don't have any insight if we 
can rely on host library or should provide one in tools. Anyway U-Boot is 
building fine *for now* without it.

BTW Is there somewhere a list of packages installed on buildbots and is the 
list consistent across all of them? 

1. 
http://git.denx.de/?p=u-boot.git;a=blob;f=Makefile;h=c1af9307b38e2b941d651bc316dcdf82e1bff8e6#l1363
2. http://swig.org/Doc4.0/Preface.html#Preface_unix_installation

> 
> Hauke
> 

Regards

-- 
TMN

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to