[OE-core] [PATCH 1/2] oprofile: add kernel dependency

tom.zanussi at linux.intel.com tom.zanussi at linux.intel.com
Mon Jan 28 20:50:56 UTC 2013


From: Tom Zanussi <tom.zanussi at 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 at linux.intel.com>
---
 meta/recipes-kernel/oprofile/oprofile_0.9.8.bb | 2 ++
 1 file changed, 2 insertions(+)

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 \
-- 
1.7.11.4





More information about the Openembedded-core mailing list