From: Richard Purdie Date: Sun, 2 Mar 2014 17:37:37 +0000 (+0000) Subject: oprofile: Partially fix separate builddir support X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c2a17dcc86b7f1b59fd1880dccbbe8f1a9678af1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc index 678d40ef7d1..080219ed3de 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 }