summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/oprofile
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:24:04 +0000
commit2c4942ab36d66de9c189e8c116195f67f2894a08 (patch)
tree0f33e633503aeadc1593f3b469ea15fb4b84ebac /meta/recipes-kernel/oprofile
parent07db5222a970e40bff51c5df793f0021b0e2aba8 (diff)
downloadopenembedded-core-2c4942ab36d66de9c189e8c116195f67f2894a08.tar.gz
openembedded-core-2c4942ab36d66de9c189e8c116195f67f2894a08.tar.bz2
openembedded-core-2c4942ab36d66de9c189e8c116195f67f2894a08.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile')
-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
EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} --without-x"
do_configure () {
- find . -wholename './.pc' -prune -o -type f -print | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#'
+ find ${S} -wholename '${S}/.pc' -prune -o -type f -print | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#'
cp ${WORKDIR}/acinclude.m4 ${S}/
autotools_do_configure
}