perf: install trace-event plugins

perf hardcodes $libdir to be lib for all but x86_64, so kludge around it
until upstream gets their act together.

--kyle
This commit is contained in:
Kyle McMartin 2014-06-02 15:11:01 -04:00 committed by Josh Boyer
commit bb584dd537
2 changed files with 26 additions and 2 deletions

17
perf-lib64.patch Normal file
View file

@ -0,0 +1,17 @@
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 802cf54..7f30bfa 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -621,8 +621,12 @@ endif
ifeq ($(IS_X86_64),1)
lib = lib64
else
+ifdef MULTILIBDIR
+lib = $(MULTILIBDIR)
+else
lib = lib
endif
+endif
libdir = $(prefix)/$(lib)
# Shell quote (do not use $(call) to accommodate ancient setups);