Patchwork [meta-fsl-ppc,6/6] rcw: export PYTHON to override the assignment in Makefile

login
register
mail settings
Submitter Ting Liu
Date Oct. 9, 2013, 7:33 a.m.
Message ID <1381303991-11600-7-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/59553/
State Accepted
Headers show

Comments

Ting Liu - Oct. 9, 2013, 7:33 a.m.
From: Ting Liu <b28495@freescale.com>

As RCW compiler is supported only with Python 2.6.x and
2.7.x, and currently Yocto uses python 2.7.3 or later,
export PYTHON to directly use Yocto's python which can work
with rcw.py definitely for now.

Signed-off-by: Ting Liu <b28495@freescale.com>
Reviewed-by: Emilian Medve <Emilian.Medve@freescale.com>
Tested-by: Emilian Medve <Emilian.Medve@freescale.com>
---
 recipes-bsp/rcw/rcw_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb
index c532a9d..7d87783 100644
--- a/recipes-bsp/rcw/rcw_git.bb
+++ b/recipes-bsp/rcw/rcw_git.bb
@@ -18,6 +18,8 @@  SRCREV = "5d3c819bcca6d09dcf7b52b3f2855dda304a5997"
 
 S = "${WORKDIR}/git"
 
+export PYTHON
+
 do_install () {
 	make install