summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2015-09-15 14:34:24 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-16 21:38:21 +0100
commitc849ed0c66a2fb7d91795c421eb4c87b47d03c0d (patch)
tree0c6bcacf2b7170a6836b8546f87521f88057f9f7
parent3ad8e15607eebf4fc56afda32dd64c498fbff109 (diff)
downloadopenembedded-core-c849ed0c66a2fb7d91795c421eb4c87b47d03c0d.tar.gz
openembedded-core-c849ed0c66a2fb7d91795c421eb4c87b47d03c0d.tar.bz2
openembedded-core-c849ed0c66a2fb7d91795c421eb4c87b47d03c0d.zip
perf: fix the install-python_ext on upstream kernel
The Perf source code between Yocto and upstream are different, like below commit is not in upstream, so broaden the "--root" replacement to Makefile* commit 33e96fb1e2d77541e81eb341ccd3fbe9419e4c9a Author: Tom Zanussi <tom.zanussi@intel.com> Date: Tue Jul 3 13:07:23 2012 -0500 perf: change --root to --prefix for python install Otherwise we get the sysroot path appended to the build path, not what we want. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-kernel/perf/perf.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index adb3a2cdcf..241cca97f0 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -148,7 +148,7 @@ do_configure_prepend () {
${S}/tools/perf/Makefile.perf
fi
sed -i -e "s,--root='/\$(DESTDIR_SQ)',--prefix='\$(DESTDIR_SQ)/usr' --install-lib='\$(DESTDIR)\$(PYTHON_SITEPACKAGES_DIR)',g" \
- ${S}/tools/perf/Makefile
+ ${S}/tools/perf/Makefile*
if [ -e "${S}/tools/build/Makefile.build" ]; then
sed -i -e 's,\ .config-detected, $(OUTPUT)/config-detected,g' \