summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-02 17:37:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-05 15:50:19 +0000
commitc2a17dcc86b7f1b59fd1880dccbbe8f1a9678af1 (patch)
treee5c658ddfed4cc0fdbc55f09313e36de7d6f753f /meta
parent12d613f9a9566cc4bf2555970d4eae8ba3868c36 (diff)
downloadpoky-c2a17dcc86b7f1b59fd1880dccbbe8f1a9678af1.tar.gz
oprofile: Partially fix separate builddir support
It doesn't make separate build completely work but its worth merging as one step in the right direction. (From OE-Core rev: 2c4942ab36d66de9c189e8c116195f67f2894a08) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/oprofile/oprofile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc
index 678d40ef7d..080219ed3d 100644
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -30,7 +30,7 @@ inherit autotools-brokensep
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 . -wholename './.pc' -prune -o -type f -print | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#' 33 find ${S} -wholename '${S}/.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}