[yocto] How to build a native python extension

cddatemp cddatemp at 163.com
Mon Nov 20 04:07:49 PST 2017


At 2017-11-20 19:35:31, "Burton, Ross" <ross.burton at intel.com> wrote:

inherit native to make the recipe native.


It really help, when my recipe is just a helloworld python extension.
Unfortunately, this recipe is u-boot.
It will compile a native python extension named "libfdt", then use it to compile u-boot.
So I cannot add "inherit native" to the u-boot recipe.




Ross


On 20 November 2017 at 11:33, cddatemp <cddatemp at 163.com> wrote:

Hi,


I add "inherit distutils" in my recipe.
It will make my recipe depends on "python-native" and "python".
Finally it use arm-gcc to build the python extension.
But I want to use x86-gcc to build a native python extension.
How to do this?


Best Regards
cddatemp

--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171120/f3e86f8e/attachment.html>


More information about the yocto mailing list