Wind River Support Network


LIN5-17949 : Can't build Custom kernel with perf anymore

Created: Feb 4, 2014    Updated: Dec 19, 2017
Resolved Date: Feb 12, 2014
Found In Version:
Fix Version:
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace


A dependency to linux-windriver has been added to the package perf.
It's been added to the oe-core, Why oe-core? If the change should be done it should be in the wr-kernel!

  commit a897dbe91bd3bb69475600cc8aa0c4a067be3a82
Author: Peter Kolcsar <>
Date:   Mon Nov 25 17:25:49 2013 +0200

    perf: fix COPYING getting from kernel sources warning [Defect: WIND00434092 ]
    perf: ensure that kernel are fully deployed before perf builds.
    CQID: WIND00434092
    Signed-off-by: Peter Kolcsar <>
    Signed-off-by: Michael Barabanov <>

diff --git a/meta/recipes-kernel/perf/ b/meta/recipes-kernel/perf/
index 8860bd1..e302ddc 100644
--- a/meta/recipes-kernel/perf/
+++ b/meta/recipes-kernel/perf/
@@ -9,7 +9,7 @@ as well."
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
-PR = "r5"
+PR = "r6"
@@ -18,6 +18,11 @@ BUILDPERF_libc-uclibc = "no"
 TUI_DEPENDS = "${@perf_feature_enabled('perf-tui', 'libnewt', '',d)}"
 SCRIPTING_DEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl python', '',d)}"
+# perf needs src/kernel/COPYING file, in the early do_populate_lic stage, which
+# means that the kernel shall be fully compiled and deployed before starting
+# the perf package build.
+do_unpack[depends] += "linux-windriver:do_populate_sysroot"
 DEPENDS = "virtual/kernel \
            virtual/${MLPREFIX}libc \
            ${MLPREFIX}elfutils \

Steps to Reproduce

Build perf with a custom kernel!

Other Downloads

Live chat