Patchwork [1/2] oprofile: add kernel dependency

login
register
mail settings
Submitter tom.zanussi@linux.intel.com
Date Jan. 28, 2013, 8:50 p.m.
Message ID <a0ec6e8cff3eac14c1ed44836efae553e6cf05a8.1359405784.git.tom.zanussi@linux.intel.com>
Download mbox | patch
Permalink /patch/43575/
State Accepted
Commit e771031453bf9bf897e1f1144f6b94ef95c03094
Headers show

Comments

tom.zanussi@linux.intel.com - Jan. 28, 2013, 8:50 p.m.
From: Tom Zanussi <tom.zanussi@linux.intel.com>

oprofile-0.9.8 adds 'operf' which depends on the kernel's perf_events
subsystem to be present when building, which adds the kernel
dependency that we specify in a new DEPENDS for oprofile-0.9.8.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
 meta/recipes-kernel/oprofile/oprofile_0.9.8.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb b/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb
index 4491e7d..6075163 100644
--- a/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb
+++ b/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb
@@ -2,6 +2,8 @@  require oprofile.inc
 
 PR = "${INC_PR}.1"
 
+DEPENDS += "virtual/kernel"
+
 SRC_URI += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
             file://0001-Add-rmb-definition-for-AArch64-architecture.patch \
             file://0001-OProfile-doesn-t-build-for-32-bit-ppc-the-operf_util.patch \