summaryrefslogtreecommitdiffstats
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:50:19 +0000
commitc2a17dcc86b7f1b59fd1880dccbbe8f1a9678af1 (patch)
treee5c658ddfed4cc0fdbc55f09313e36de7d6f753f /meta/recipes-kernel/oprofile
parent12d613f9a9566cc4bf2555970d4eae8ba3868c36 (diff)
downloadast2050-yocto-poky-c2a17dcc86b7f1b59fd1880dccbbe8f1a9678af1.zip
ast2050-yocto-poky-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/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 678d40e..080219e 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
}
OpenPOWER on IntegriCloud