summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-09-08 15:48:31 +0100
committerJoshua Lock <josh@linux.intel.com>2010-09-08 16:42:52 +0100
commit8be5593777be3a6617791fc70e9aa47d54ca1676 (patch)
tree9131dcb0038499df8a535f432b773cc04492023a /meta/classes
parentfac3ca94a235aa4a5bcf12c66a6e02a42b2ce538 (diff)
downloadopenembedded-core-8be5593777be3a6617791fc70e9aa47d54ca1676.tar.gz
openembedded-core-8be5593777be3a6617791fc70e9aa47d54ca1676.tar.bz2
openembedded-core-8be5593777be3a6617791fc70e9aa47d54ca1676.zip
kernel.bbclass/linux-wrs: move definition of perf package to kernel class
By defining the perf package in the shared kernel class bitbake will be able to find the package provider even when the preferred kernel doesn't build perf, preventing dependency resolution failures. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 10e5c2a571..4c79a98039 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -501,3 +501,8 @@ do_deploy() {
do_deploy[dirs] = "${DEPLOYDIR} ${B}"
addtask deploy before do_package after do_install
+
+# perf must be enabled in individual kernel recipes
+PACKAGES =+ "perf"
+FILES_perf = "${bindir}/* \
+ ${libexecdir}"