aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-intel_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_4.14.bb
parent611a83130669abca3cdd3ab1a51d30daab0f1699 (diff)
downloadmeta-intel-e6935a22ef19a9c0c41a260ccb67b87aef332bf6.tar.gz
meta-intel-e6935a22ef19a9c0c41a260ccb67b87aef332bf6.tar.bz2
meta-intel-e6935a22ef19a9c0c41a260ccb67b87aef332bf6.zip
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_4.14.bb')
-rw-r--r--recipes-kernel/linux/linux-intel_4.14.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-intel_4.14.bb b/recipes-kernel/linux/linux-intel_4.14.bb
index e00eb88b..c6e13169 100644
--- a/recipes-kernel/linux/linux-intel_4.14.bb
+++ b/recipes-kernel/linux/linux-intel_4.14.bb
@@ -6,6 +6,7 @@ KMETA_BRANCH = "yocto-4.14"
# Fix for 32-bit perf issue. Remove when patch is backported to 4.14.
SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch \
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
+ file://0001-perf-tools-Add-Python-3-support.patch \
"
DEPENDS += "elfutils-native openssl-native util-linux-native"