[yocto] How to build a native python extension

Burton, Ross ross.burton at intel.com
Mon Nov 20 06:16:40 PST 2017


There's numerous u-boot recipes out there, including on in oe-core. Ideally
customise the u-boot in oe-core instead of writing your own recipe from
scratch.

Ross

On 20 November 2017 at 12:07, cddatemp <cddatemp at 163.com> wrote:

> 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/29060df0/attachment.html>


More information about the yocto mailing list