From patchwork Mon Jan 14 13:29:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: oprofile: set correct kernel path Date: Mon, 14 Jan 2013 13:29:09 -0000 From: Bogdan Marinescu X-Patchwork-Id: 42565 Message-Id: <1358170149-27579-1-git-send-email-bogdan.a.marinescu@intel.com> To: openembedded-core@lists.openembedded.org 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 --- meta/recipes-kernel/oprofile/oprofile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc index 9bbd2ef..d6d20ae 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}/