summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-intel-rt_4.14.bb
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2019-10-01 09:41:21 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2019-10-01 09:43:09 +0800
commite6935a22ef19a9c0c41a260ccb67b87aef332bf6 (patch)
tree6977200cc7bf749d7226f9b4791c3f73e063a012 /recipes-kernel/linux/linux-intel-rt_4.14.bb
parent611a83130669abca3cdd3ab1a51d30daab0f1699 (diff)
downloadmeta-intel-e6935a22ef19a9c0c41a260ccb67b87aef332bf6.tar.gz
linux-intel: fix perf build failure with 4.14 kernel
OE-Core started using Python3 for perf module. But older kernel such as 4.14 does not have support for python3. This cause build failure: | Makefile.config:588: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev | Makefile.config:626: Python 3 is not yet supported; please set | Makefile.config:627: PYTHON and/or PYTHON_CONFIG appropriately. | Makefile.config:628: If you also have Python 2 installed, then | Makefile.config:629: try something like: Backported python3 support, as suggessted here: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/perf?id=92469aad50b623afa423c19d82ed2e3c667c5e6a Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-kernel/linux/linux-intel-rt_4.14.bb')
-rw-r--r--recipes-kernel/linux/linux-intel-rt_4.14.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-intel-rt_4.14.bb b/recipes-kernel/linux/linux-intel-rt_4.14.bb
index 552f7800..cc95d52c 100644
--- a/recipes-kernel/linux/linux-intel-rt_4.14.bb
+++ b/recipes-kernel/linux/linux-intel-rt_4.14.bb
@@ -13,7 +13,8 @@ KBRANCH = "4.14/preempt-rt"
13KMETA_BRANCH = "yocto-4.14" 13KMETA_BRANCH = "yocto-4.14"
14 14
15# Fix for 32-bit perf issue. Remove when patch is backported to 4.14. 15# Fix for 32-bit perf issue. Remove when patch is backported to 4.14.
16SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch" 16SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch \
17 file://0001-perf-tools-Add-Python-3-support.patch"
17 18
18DEPENDS += "elfutils-native openssl-native util-linux-native" 19DEPENDS += "elfutils-native openssl-native util-linux-native"
19 20