aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-11-03 20:08:55 -0700
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-11-04 09:54:51 +0000
commit3bfe83535358289aa7f7342ed0977c076e7550c8 (patch)
tree4bbf33dad467c11c6f6ba8b42b23cf5661cbf7df
parentcd38876d03bbe25e5baa623574088f67aea324e9 (diff)
downloadmeta-qcom-krogoth.tar.gz
meta-qcom-krogoth.tar.bz2
meta-qcom-krogoth.zip
linux-linaro-qcomlt_4.4.bb: Inherit pythonnativekrogoth
This kernel uses dtbTool ( a python script) during build this script ends up poking at host python and if you use something like archlinux then your python version will be different then python-native and it will result in compile errors e.g. | Traceback (most recent call last): | File "/mnt/b/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/dtbTool", line 34, in <module> | from struct import pack, unpack | File "/usr/lib/python2.7/struct.py", line 1, in <module> | from _struct import * | ImportError: /usr/lib/python2.7/lib-dynload/_struct.so: undefined symbol: PyUnicodeUCS4_AsEncodedString therefore inherit pythonnative to limit it to use the python from native sysroot for consistency across different build hosts Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb b/recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb
index 6e9e910..7eff665 100644
--- a/recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb
+++ b/recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb
@@ -3,6 +3,8 @@
DESCRIPTION = "Linaro Qualcomm Landing team 4.4 Kernel"
+inherit pythonnative
+
require recipes-kernel/linux/linux-linaro-qcom.inc
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/linux-qcom-bootimg.inc