]> code.ossystems Code Review - openembedded-core.git/commitdiff
oprofile: Partially fix separate builddir support
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Mar 2014 17:37:37 +0000 (17:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Mar 2014 15:24:04 +0000 (15:24 +0000)
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>
meta/recipes-kernel/oprofile/oprofile.inc

index 678d40ef7d18251f33c9354733a2a6cd6b5c3e37..080219ed3de09753643556e4d6c25f3a5c8fe534 100644 (file)
@@ -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
 }