[yocto] Add python2 as native package in openembedded sdk

Alberto Eusebi alberto at albeus.eu
Mon Oct 15 09:15:20 PDT 2018


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


More information about the yocto mailing list