summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofile.inc
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2012-12-19 14:51:56 +0800
committerSaul Wold <sgw@linux.intel.com>2012-12-25 14:00:21 -0800
commit584fc5abe4ea08a92eff691af42300b5a26d2755 (patch)
treee7183bb0e6b4e3d0ce72bbf2693a6eb3f28ccd6d /meta/recipes-kernel/oprofile/oprofile.inc
parentb5d84482b2762dca0660eb908bcc52aae278d00d (diff)
downloadopenembedded-core-584fc5abe4ea08a92eff691af42300b5a26d2755.tar.gz
oprofile: use dynamic root home directory
Use stub "ROOTHOME" to replace "/home/root" in oprofile-root.patch, then we can substitute it with configured root home directory. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofile.inc')
-rw-r--r--meta/recipes-kernel/oprofile/oprofile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc
index b3ce852bba..23ddb14f38 100644
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -31,6 +31,7 @@ inherit autotools
EXTRA_OECONF = "--with-kernel-support --without-x"
do_configure () {
+ find . -type f | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#'
cp ${WORKDIR}/acinclude.m4 ${S}/
autotools_do_configure
}