From e6935a22ef19a9c0c41a260ccb67b87aef332bf6 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Tue, 1 Oct 2019 09:41:21 +0800 Subject: 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 Signed-off-by: Anuj Mittal --- recipes-kernel/linux/linux-intel_4.14.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-kernel/linux/linux-intel_4.14.bb') 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" -- cgit v1.2.3-54-g00ecf