[yocto] Building on non-x86 hosts, wic and syslinux

akuster akuster at mvista.com
Sun Apr 7 22:51:59 PDT 2019

On 4/8/19 4:43 AM, Anders Montonen wrote:
> Hi,
> I was experimenting with building on an AArch64 host, and ran into the issue that image_types_wic.bbclass unconditionally adds syslinux-native to the dependencies, while syslinux is only compatible with x86 hosts. I didn’t look further into this, but is it possible to make this dependency chain dependent on the actual image types you’re trying to build?
I think we are going to have to figure that out. The Yocto Project has
an arm64 builder that they are in the middle of bring up. If might be
helpful to the project if you could open a bug on this. I know there are
a few folks building on raspberrypi who my be on the different mailing
list,  openembedded-core at lists.openembedded.org. You might want to post
your question there too.

kind regards,
> After working around the problem by manually removing the dependency from the class, the build completed without issues (though I did not test the results).
> Regards,
> Anders

More information about the yocto mailing list