[oe-commits] Mark Hatle : kernel.bbclass: Add support for perf-dbg package

git version control git at git.openembedded.org
Thu Jun 23 11:07:33 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 17f76de8ab8b7c9e62c1149017a3fa78866d9300
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=17f76de8ab8b7c9e62c1149017a3fa78866d9300

Author: Mark Hatle <mark.hatle at windriver.com>
Date:   Mon Jun 20 12:58:45 2011 -0500

kernel.bbclass: Add support for perf-dbg package

The perf component is built with the kernel, so ensure that it gets the
debug information associated with it.

Also bump the PR in the linux-yocto-* to ensure they get rebuilt.

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>

---

 meta/classes/kernel.bbclass                     |    3 ++-
 meta/recipes-kernel/linux/linux-yocto_2.6.34.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_2.6.37.bb |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 1bb69f5..aaf341b 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -496,6 +496,7 @@ addtask deploy before do_build after do_install
 EXPORT_FUNCTIONS do_deploy
 
 # perf must be enabled in individual kernel recipes
-PACKAGES =+ "perf"
+PACKAGES =+ "perf-dbg perf"
 FILES_perf = "${bindir}/* \
               ${libexecdir}"
+FILES_perf-dbg = "${FILES_${PN}-dbg}"
diff --git a/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb b/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb
index 66991ae..4891463 100644
--- a/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb
@@ -22,7 +22,7 @@ SRCREV_machine_qemux86-64 = "72ca49ab08b8eb475cec82a10049503602325791"
 SRCREV_machine = "72ca49ab08b8eb475cec82a10049503602325791"
 SRCREV_meta = "ec26387cb168e9e0976999b528b5a9dd62e3157a"
 
-PR = "r1"
+PR = "r2"
 PV = "${LINUX_VERSION}+git${SRCPV}"
 SRCREV_FORMAT = "meta_machine"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb b/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb
index f244226..90dc930 100644
--- a/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb
@@ -22,7 +22,7 @@ SRCREV_machine_qemux86-64 = "790b4cd5ff0bb8c4f4523763436efd438c692342"
 SRCREV_machine = "bb8e31f2c99f5e007660d4540df246fb7ecfa746"
 SRCREV_meta = "d5d3c6480d61f83503ccef7fbcd765f7aca8b71b"
 
-PR = "r19"
+PR = "r20"
 PV = "${LINUX_VERSION}+git${SRCPV}"
 SRCREV_FORMAT = "meta_machine"
 





More information about the Openembedded-commits mailing list