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
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-26 11:34:07 +0000
commit845c2c0bd5db3ddab917d9945c2434b6e8c8c15b (patch)
treea40ac5a842d4c55eb65eb648ef4caa9b1bfd17e8 /meta/recipes-kernel/oprofile/oprofile.inc
parent2af073af00280e36295121e2a426ba88a4a39988 (diff)
downloadpoky-845c2c0bd5db3ddab917d9945c2434b6e8c8c15b.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. (From OE-Core rev: 584fc5abe4ea08a92eff691af42300b5a26d2755) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
31 31
32EXTRA_OECONF = "--with-kernel-support --without-x" 32EXTRA_OECONF = "--with-kernel-support --without-x"
33do_configure () { 33do_configure () {
34 find . -type f | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#'
34 cp ${WORKDIR}/acinclude.m4 ${S}/ 35 cp ${WORKDIR}/acinclude.m4 ${S}/
35 autotools_do_configure 36 autotools_do_configure
36} 37}