Using armhf as a secondary toolchain in Yocto

我们两清 提交于 2019-12-02 10:28:13

So there's a few ways around this.

The general answer for your problem is that you need to have two machine.conf files for this particular setup, build 32bit U-Boot with the 32bit machine, build everything else with the 64bit configuration and at the level above whatever controls running bitbake ensure that you build both machine types before passing the outputs on to whomever needs them.

A more hacky approach would be to say that you use a system-wide toolchain (which you could have OE generate via meta-toolchain and install that) and then in your custom U-Boot recipe, override EXTRA_OEMAKE is that you force it to use your toolchain instead.

And a third approach, which I realize isn't likely, but as the U-Boot custodian I feel I should bring up, move the platform to 64bit U-Boot (or tell the vendor they should), we have many armv8 platforms today and lots of examples of vendors who took their 32bit support and added in 64bit.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!