7c20258
From ec71a1edaff5326d27c6b4683de33fd61b5b7221 Mon Sep 17 00:00:00 2001
6a91557
From: Kyle McMartin <kmcmarti@redhat.com>
6a91557
Date: Mon, 2 Jun 2014 15:11:01 -0400
6a91557
Subject: [PATCH] perf: install trace-event plugins
6a91557
6a91557
perf hardcodes $libdir to be lib for all but x86_64, so kludge around it
6a91557
until upstream gets their act together.
6a91557
---
6a91557
 tools/perf/config/Makefile | 4 ++++
6a91557
 1 file changed, 4 insertions(+)
6a91557
Kyle McMartin bb584dd
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
6a91557
index 86c21a24da46..bf0fe97bd358 100644
Kyle McMartin bb584dd
--- a/tools/perf/config/Makefile
Kyle McMartin bb584dd
+++ b/tools/perf/config/Makefile
6a91557
@@ -642,8 +642,12 @@ endif
Kyle McMartin bb584dd
 ifeq ($(IS_X86_64),1)
Kyle McMartin bb584dd
 lib = lib64
Kyle McMartin bb584dd
 else
Kyle McMartin bb584dd
+ifdef MULTILIBDIR
Kyle McMartin bb584dd
+lib = $(MULTILIBDIR)
Kyle McMartin bb584dd
+else
Kyle McMartin bb584dd
 lib = lib
Kyle McMartin bb584dd
 endif
Kyle McMartin bb584dd
+endif
Kyle McMartin bb584dd
 libdir = $(prefix)/$(lib)
6a91557
 
Kyle McMartin bb584dd
 # Shell quote (do not use $(call) to accommodate ancient setups);
6a91557
-- 
6a91557
1.9.3
6a91557