2 Replies Latest reply on Apr 29, 2016 9:39 AM by nsrb

    Writing recipe for Python 3.4


      Hi. I am able to build Yocto 1.6.1 with "Intel® Edison Board Support Package User Guide"

      I created python_3.4.bb file:

      edison-src/build$ vim ../device-software/meta-edison-distro/recipes-support/python3.4/python_3.4.bb

      With next:

      DESCRIPTION = "Python 3.4"

      #LICENSE = "GPLv3+"

      LIC_FILES_CHKSUM ="file://LICENSE;md5=dd98d01d471fac8d8dbdd975229dba03"

      SRC_URI = "https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz"

      SRC_URI[md5sum] = "e80a0c1c71763ff6b5a81f8cc9bb3d50"

      What I need to add to this file if I need to execute next commands to build binaries (It works when I run it on hardware edison):

      tar -xf Python-3.4.4.tgz

      cd Python-3.4.4/

      ./configure --enable-shared

      make -j3

      make install

      echo /usr/local/lib/ > /etc/ld.so.conf

      I tried to adopt ../poky/meta/recipes-devtools/python/python3_3.3.3.bb recipe to 3.4 but it looks too large with a lot of patches and commands, so I need somthins simplier. Can you help with recipe or point me to some recipe with same simple ./configure and make commands?