[yocto] Add python2 as native package in openembedded sdk

Burton, Ross ross.burton at intel.com
Mon Oct 15 09:57:10 PDT 2018


Add nativesdk-python-core and nativesdk-python-modules to
TOOLCHAIN_HOST_TASK (using _append).

Ross
On Mon, 15 Oct 2018 at 17:30, Alberto Eusebi <alberto at albeus.eu> wrote:
>
> Hello,
> I need to cross compile python2 packages using openembedded sdk. The sdk
> resulting package contains only python 3.5.3 (in older version it contains
> python 2.7.3 as well).
>   _________________________________________________________________________________
>   # ls -l sysroots/x86_64-angstromsdk-linux/usr/bin/python*
>     lrwxrwxrwx 1 root root    9 Oct 11 21:39 python3 -> python3.5*
>     -rwxr-xr-x 1 root root  267 Oct 11 21:39 python3.5*
>     lrwxrwxrwx 1 root root   17 Oct 11 21:39 python3.5-config -> python3.5m-config*
>     -rwxr-xr-x 2 root root  15K Oct 11 21:39 python3.5m*
>     -rwxr-xr-x 1 root root 3.3K Oct 11 21:39 python3.5m-config*
>     -rwxr-xr-x 2 root root  15K Oct 11 21:39 python3.5.real*
>     lrwxrwxrwx 1 root root   16 Oct 11 21:39 python3-config -> python3.5-config*__
>   _________________________________________________________________________________
>
>
> Is there a way to add also this native python version to my sdk?
>
> Thanks.
>
> --
> Albeus
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list