diff options
author | Khang Nguyen <khang.nguyen.xw@renesas.com> | 2019-10-29 16:13:15 +0700 |
---|---|---|
committer | Khang Nguyen <khang.nguyen.xw@renesas.com> | 2019-12-24 15:24:24 +0700 |
commit | 54ba967ecfb16553bb555a373212a93690a52ae5 (patch) | |
tree | ba91ca087a0cf16d28113713af51c6b6cde863f5 /meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb | |
parent | 2fc563b1979b272c68c59005ed5a1717871034b5 (diff) |
rcar-gen3: linux-renesas: 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 causes build failure as follows:
| Makefile.config:391: DWARF support is off, BPF prologue is disabled
| 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 a suggestion here:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/perf?id=92469aad50b623afa423c19d82ed2e3c667c5e6a
This fix was backported from:
https://lists.yoctoproject.org/pipermail/meta-intel/2019-September/006191.html
Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Change-Id: Ieaad61fb9bd4888e6226c8e00d4807f738cc0b55
Diffstat (limited to 'meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb')
-rw-r--r-- | meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb b/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb index 78f0ef1..2887f2f 100644 --- a/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb +++ b/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers_4.14.bb @@ -11,6 +11,11 @@ SRC_URI = "${RENESAS_BSP_URL};branch=${BRANCH}" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" +# Add python3 support to fix Perf build failure +SRC_URI_append = " \ + file://0001-perf-tools-Add-Python-3-support.patch \ +" + # Enable RPMSG_VIRTIO depend on ICCOM SRC_URI_append = " \ ${@oe.utils.conditional("USE_ICCOM", "1", " file://0001-rpmsg-Add-message-to-be-able-to-configure-RPMSG_VIRT.patch", "", d)} \ |