summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-05-03 03:03:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-11 07:49:30 +0100
commitc693b7ec8914460c891a5fb8bd36fb9401e62ac0 (patch)
tree90a784d59018b2ffc88f29db1a3a6c1d0597525d
parent01e7dee6c75f6868453d15b35499dd6d57193da9 (diff)
downloadopenembedded-core-contrib-c693b7ec8914460c891a5fb8bd36fb9401e62ac0.tar.gz
openembedded-core-contrib-c693b7ec8914460c891a5fb8bd36fb9401e62ac0.tar.bz2
openembedded-core-contrib-c693b7ec8914460c891a5fb8bd36fb9401e62ac0.zip
mesa: Define PYTHON2
Ensure that python2 is not assumed to be python which can point to python3 in some cases, when building gallium-llvm there are scripts which are requiring python2 and wont work with python3 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 354271e826..5d4a452d33 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -35,6 +35,7 @@ export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}"
export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config"
EXTRA_OECONF = "--enable-shared-glapi \
--disable-opencl \
+ PYTHON2=python2 \
--with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} \
--with-platforms='${PLATFORMS}'"