Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame^] | 1 | Take a patch from linux-yocto to fix buildpaths in perf's python module. |
| 2 | |
| 3 | Upstream-Status: Pending |
| 4 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
| 5 | |
| 6 | From b8cd0e429bf75b673c438a8277d4bc74327df992 Mon Sep 17 00:00:00 2001 |
| 7 | From: Tom Zanussi <tom.zanussi@intel.com> |
| 8 | Date: Tue, 3 Jul 2012 13:07:23 -0500 |
| 9 | Subject: [PATCH] perf: change --root to --prefix for python install |
| 10 | |
| 11 | Otherwise we get the sysroot path appended to the build path, not what |
| 12 | we want. |
| 13 | |
| 14 | Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> |
| 15 | --- |
| 16 | tools/perf/Makefile.perf | 2 +- |
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 | |
| 19 | diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf |
| 20 | index 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 | -- |
| 33 | 2.34.1 |
| 34 | |