[linux-yocto] [PATCH 4/4] perf: change --root to --prefix for python install

tom.zanussi at intel.com tom.zanussi at intel.com
Tue Jul 3 11:09:04 PDT 2012


From: Tom Zanussi <tom.zanussi at intel.com>

Otherwise we get the sysroot path appended to the build path, not what
we want.

Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
---
 tools/perf/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 97bca9c..e5456d3 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -878,7 +878,7 @@ install: all
 	$(INSTALL) scripts/python/bin/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python/bin'
 
 install-python_ext:
-	$(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)'
+	$(PYTHON_WORD) util/setup.py --quiet install --prefix='$(DESTDIR_SQ)/usr'
 
 install-doc:
 	$(MAKE) -C Documentation install
-- 
1.7.0.4




More information about the linux-yocto mailing list