public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools lib lk: respect CROSS_COMPILE
@ 2013-05-17 20:27 Rabin Vincent
  2013-05-27 13:28 ` Rabin Vincent
  2013-05-31 12:21 ` [tip:perf/core] tools lib lk: Respect CROSS_COMPILE tip-bot for Rabin Vincent
  0 siblings, 2 replies; 4+ messages in thread
From: Rabin Vincent @ 2013-05-17 20:27 UTC (permalink / raw)
  To: acme, mingo; +Cc: bp, linux-kernel, Rabin Vincent

Make lk use CROSS_COMPILE, in order to be able to cross compile perf
again.

Signed-off-by: Rabin Vincent <rabin@rab.in>
---
 tools/lib/lk/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/lib/lk/Makefile b/tools/lib/lk/Makefile
index 926cbf3..2c5a197 100644
--- a/tools/lib/lk/Makefile
+++ b/tools/lib/lk/Makefile
@@ -1,5 +1,8 @@
 include ../../scripts/Makefile.include
 
+CC = $(CROSS_COMPILE)gcc
+AR = $(CROSS_COMPILE)ar
+
 # guard against environment variables
 LIB_H=
 LIB_OBJS=
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-31 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17 20:27 [PATCH] tools lib lk: respect CROSS_COMPILE Rabin Vincent
2013-05-27 13:28 ` Rabin Vincent
2013-05-27 13:39   ` Borislav Petkov
2013-05-31 12:21 ` [tip:perf/core] tools lib lk: Respect CROSS_COMPILE tip-bot for Rabin Vincent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox