blob: 637d90aeb8f1a0deba031f2f43a37911dc928a38 [file] [log] [blame]
Patrick Williams7784c422022-11-17 07:29:11 -06001Take a patch from linux-yocto to fix buildpaths in perf's python module.
2
3Upstream-Status: Pending
4Signed-off-by: Ross Burton <ross.burton@arm.com>
5
6From b8cd0e429bf75b673c438a8277d4bc74327df992 Mon Sep 17 00:00:00 2001
7From: Tom Zanussi <tom.zanussi@intel.com>
8Date: Tue, 3 Jul 2012 13:07:23 -0500
9Subject: [PATCH] perf: change --root to --prefix for python install
10
11Otherwise we get the sysroot path appended to the build path, not what
12we want.
13
14Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
15---
16 tools/perf/Makefile.perf | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
20index 8f738e11356d..ee945d8e3996 100644
21--- a/tools/perf/Makefile.perf
22+++ b/tools/perf/Makefile.perf
23@@ -1022,7 +1022,7 @@ install-bin: install-tools install-tests install-traceevent-plugins
24 install: install-bin try-install-man
25
26 install-python_ext:
27- $(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)'
28+ $(PYTHON_WORD) util/setup.py --quiet install --prefix='$(DESTDIR_SQ)/usr'
29
30 # 'make install-doc' should call 'make -C Documentation install'
31 $(INSTALL_DOC_TARGETS):
32--
332.34.1
34