Wind River Support Network

HomeDefectsLIN5-17949
Fixed

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: 5.0.1.11
Fix Version: 5.0.1.12
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

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 <peter.kolcsar@windriver.com>
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 <peter.kolcsar@windriver.com>
    Signed-off-by: Michael Barabanov <michael.barabanov@windriver.com>

diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb
index 8860bd1..e302ddc 100644
--- a/meta/recipes-kernel/perf/perf_3.4.bb
+++ b/meta/recipes-kernel/perf/perf_3.4.bb
@@ -9,7 +9,7 @@ as well."
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
-PR = "r5"
+PR = "r6"
 
 require perf.inc
 
@@ -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
Online