Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] oprofile: Partially fix separate builddir support
@ 2014-03-02 17:37 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-03-02 17:37 UTC (permalink / raw)
  To: openembedded-core

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>
---
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
 }




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-02 17:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-02 17:37 [PATCH] oprofile: Partially fix separate builddir support Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox