[oe-commits] Richard Purdie : oprofile: Partially fix separate builddir support
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 3 15:48:59 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 3c750243335f0599890aef82f90a87b6e5c04d7e
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3c750243335f0599890aef82f90a87b6e5c04d7e
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Sun Mar 2 17:37:37 2014 +0000
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 at linuxfoundation.org>
---
meta/recipes-kernel/oprofile/oprofile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
}
More information about the Openembedded-commits
mailing list