Be aware that when you provide python-native, it's more likely that swig-native will be detected in sysroot as well and then u-boot will fail to build libfdt python library.
To prevent this autodetection you can use something like this: do_compile_prepend () { sed 's@\(^always += $(if $(shell which swig 2> /dev/null),_libfdt.so)$\)@# do not autodetect swig, there is no swig-native dependency \1@g' -i ${S}/tools/Makefile } which isn't needed in Yocto 2.3 Pyro and newer thanks to RSS and HOSTTOOLs filtering. On Mon, Oct 9, 2017 at 12:30 PM, Burton, Ross <ross.bur...@intel.com> wrote: > On 8 October 2017 at 18:04, Eric Schwarz <e...@sw-optimization.com> wrote: > >> Don't _append when you can just extend the assignment above. >>> >> >> I just did it that way for the moment since I wanted to circumvent merge >> conflicts when I upgrade the underlying recipes from openembedded. > > > Well it's ugly, so if you want a patch in oe-core then don't introduce > ugly for your convenience. > > >> Depending on python-native does nothing as the binary isn't in $PATH >>> still. >>> >> >> I thought any Yocto native binaries built are in the PATH automatically. >> - How >> to fix this/do it correctly? >> > > You need to inherit python3native, as python (and some others) are opt-in. > > >> Can you provide a configuration to make U-Boot build on x86 for testing? >>> >> >> I put now some patches in ordered manner on top of the original recipes >> from >> openembedded. >> However, before sending I would like to fix two issues so the recipes can >> go >> into mainline immediately. >> >> 1.) I am working w/ -morty Yocto branch at the moment. The 'u-boot.inc' >> from >> openembedded does not work w/ -morty. >> I get the following error "AttributeError: module 'bb.utils' has no >> attribute 'filter'". Building w/ the original -morty 'u-boot.inc' >> works. >> > > Yes, bb.utils.filter() is a new function that isn't in morty. > > Ross > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto