Re: [yocto] Build error: "u-boot-imx_2017.03.bb:do_compile" failed ( freescale I.MX 6 on Ubuntu 16.04) ?

2017-12-06 Thread Martin Jansa
I don't know what version of Yocto you're using, but if it's older than 2.3 (which does filter what binaries are seen from the host system with HOSTTOOLS), then your build is probably autodetecting swig from host and you can easily disable that with: do_compile_prepend () { sed 's@\(^always

Re: [yocto] Build error: "u-boot-imx_2017.03.bb:do_compile" failed ( freescale I.MX 6 on Ubuntu 16.04) ?

2017-12-06 Thread Eric Schwarz
Hello Jerry, U-Boot depends on Python but the dependency is not included in the U-Boot recipe AFAIK. I have already sent a patchset which was not complete at that time to the yocto mailinglist. Ross meant one needs to inherit from Python U-Boot class in the recipe not just include a

[yocto] Build error: "u-boot-imx_2017.03.bb:do_compile" failed ( freescale I.MX 6 on Ubuntu 16.04) ?

2017-12-06 Thread Jerry Lian
I got an error when trying to build for freescale I.MX6 on Ubuntu 16.04.(see below) (I just follow the guide from http://freescale.github.io) Anybody got hints? Thanks! Jerry === | tools/libfdt_wrap.c:147:21: