From 845c2c0bd5db3ddab917d9945c2434b6e8c8c15b Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Wed, 19 Dec 2012 14:51:56 +0800 Subject: 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-kernel/oprofile/oprofile.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-kernel/oprofile/oprofile.inc') 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 } -- cgit v1.2.3-54-g00ecf