summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofile.inc
diff options
context:
space:
mode:
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 d6d20ae32a..b09aaf8c5f 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}"
19FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" 19FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
20FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" 20FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
21 21
22INC_PR = "r1" 22INC_PR = "r2"
23 23
24SRC_URI = "file://opstart.patch \ 24SRC_URI = "file://opstart.patch \
25 file://oprofile-no-query-modules.patch \ 25 file://oprofile-no-query-modules.patch \
@@ -30,7 +30,7 @@ inherit autotools
30 30
31EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} --without-x" 31EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} --without-x"
32do_configure () { 32do_configure () {
33 find . -type f | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#' 33 find . -wholename './.pc' -prune -o -type f -print | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#'
34 cp ${WORKDIR}/acinclude.m4 ${S}/ 34 cp ${WORKDIR}/acinclude.m4 ${S}/
35 autotools_do_configure 35 autotools_do_configure
36} 36}