diff options
author | Bogdan Marinescu <bogdan.a.marinescu@intel.com> | 2013-01-14 15:29:09 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-20 13:14:08 +0000 |
commit | be2a1508b16b3afc89521b3fa1eb195a0c6970fe (patch) | |
tree | 762b0a12ecaa8a0e5a0a742327c23f72743ad49f /meta/recipes-kernel | |
parent | e9b73c0b0113a68d599323b67c34726d88e4c5ac (diff) | |
download | poky-be2a1508b16b3afc89521b3fa1eb195a0c6970fe.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.
(From OE-Core rev: 5892db9a34c188b8a9bdaa86e19ba62a7f4793b5)
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')
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofile.inc | 4 |
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}" | |||
19 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" | 19 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" |
20 | FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" | 20 | FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" |
21 | 21 | ||
22 | INC_PR = "r0" | 22 | INC_PR = "r1" |
23 | 23 | ||
24 | SRC_URI = "file://opstart.patch \ | 24 | SRC_URI = "file://opstart.patch \ |
25 | file://oprofile-no-query-modules.patch \ | 25 | file://oprofile-no-query-modules.patch \ |
@@ -28,7 +28,7 @@ SRC_URI = "file://opstart.patch \ | |||
28 | 28 | ||
29 | inherit autotools | 29 | inherit autotools |
30 | 30 | ||
31 | EXTRA_OECONF = "--with-kernel-support --without-x" | 31 | EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} --without-x" |
32 | do_configure () { | 32 | do_configure () { |
33 | find . -type f | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#' | 33 | find . -type f | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#' |
34 | cp ${WORKDIR}/acinclude.m4 ${S}/ | 34 | cp ${WORKDIR}/acinclude.m4 ${S}/ |