aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-07-03 13:07:23 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2016-08-30 12:12:04 -0400
commite9dde33d234905f321163c617feca3d57b98a4b6 (patch)
treed052779d951ce5cd1e670eb1b5f2db2a2b6e2871
parentd6835988a966e31652b0c2ad46c547941d0cbba7 (diff)
downloadlinux-yocto-e9dde33d234905f321163c617feca3d57b98a4b6.tar.gz
linux-yocto-e9dde33d234905f321163c617feca3d57b98a4b6.tar.bz2
linux-yocto-e9dde33d234905f321163c617feca3d57b98a4b6.zip
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>
-rw-r--r--tools/perf/Makefile.perf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 2d9087501633..3b787ae7361b 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -697,7 +697,7 @@ install-bin: install-tools install-tests
install: install-bin try-install-man install-traceevent-plugins
install-python_ext:
- $(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)'
+ $(PYTHON_WORD) util/setup.py --quiet install --prefix='$(DESTDIR_SQ)/usr'
# 'make install-doc' should call 'make -C Documentation install'
$(INSTALL_DOC_TARGETS):