summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofile.inc
diff options
context:
space:
mode:
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>2013-01-14 15:29:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-20 13:13:54 +0000
commit5892db9a34c188b8a9bdaa86e19ba62a7f4793b5 (patch)
tree2b05aff05c058edd73463289c23a8498cb2d0c04 /meta/recipes-kernel/oprofile/oprofile.inc
parent1377278187d20853304fe2689105f2848d796d86 (diff)
downloadopenembedded-core-5892db9a34c188b8a9bdaa86e19ba62a7f4793b5.tar.gz
oprofile: set correct kernel path
oprofile's "configure" was always looking at the configuration of the host kernel, not the target kernel. This patch instructs oprofile to use the target kernel to configure itself. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofile.inc')
-rw-r--r--meta/recipes-kernel/oprofile/oprofile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc
index 9bbd2efbc8..d6d20ae32a 100644
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -19,7 +19,7 @@ FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}"
FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
-INC_PR = "r0"
+INC_PR = "r1"
SRC_URI = "file://opstart.patch \
file://oprofile-no-query-modules.patch \
@@ -28,7 +28,7 @@ SRC_URI = "file://opstart.patch \
inherit autotools
-EXTRA_OECONF = "--with-kernel-support --without-x"
+EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} --without-x"
do_configure () {
find . -type f | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#'
cp ${WORKDIR}/acinclude.m4 ${S}/