Skip to contentSkip to conversation

tools lib lk: respect CROSS_COMPILE

PATCH In review Rabin Vincent 3 participants 4 messages May 17, 2013 – May 31, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools lib lk: respect CROSS_COMPILE

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

---
 tools/lib/lk/Makefile | 3 +++
 1 file changed, 3 insertions(+)
tools/lib/lk/Makefile +3 -0
index 926cbf3..2c5a197 100644
@@ -1,5 +1,8 @@
 include ../../scripts/Makefile.include
 
+CC = $(CROSS_COMPILE)gcc
+AR = $(CROSS_COMPILE)ar
+
 # guard against environment variables
 LIB_H=
 LIB_OBJS=
Signature · 1 line
1.8.1.2
#1 lore raw

2013/5/17 Rabin Vincent <[email protected]>:

Quoted 4 lines

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

Ping. Would be nice if this was merged so that perf cross compile is no longer broken.

Quoted 20 lines
---
 tools/lib/lk/Makefile | 3 +++
 1 file changed, 3 insertions(+)
tools/lib/lk/Makefile +3 -1
index 926cbf3..2c5a197 100644
@@ -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

#2 lore raw
Quoted 2 lines · Rabin Vincent

Ping. Would be nice if this was merged so that perf cross compile is no longer broken.

It will be merged, just give acme some more leeway - he's currently travelling around Europe with spotty internet connection.

Signature · 5 lines
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
#3 lore raw

[tip:perf/core] tools lib lk: Respect CROSS_COMPILE

In reply to Rabin Vincent
tools lib lk: Respect CROSS_COMPILE
Commit-ID:  3c4797d46c14fa0c7cf733a77bd4b28875078b53
Gitweb:     http://git.kernel.org/tip/3c4797d46c14fa0c7cf733a77bd4b28875078b53
Author:     Rabin Vincent <[email protected]>
AuthorDate: Fri, 17 May 2013 22:27:44 +0200
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 29 May 2013 15:46:36 +0300

tools lib lk: Respect CROSS_COMPILE

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

---
 tools/lib/lk/Makefile | 3 +++
 1 file changed, 3 insertions(+)
tools/lib/lk/Makefile +3 -0
index 926cbf3..2c5a197 100644
@@ -1,5 +1,8 @@
 include ../../scripts/Makefile.include
 
+CC = $(CROSS_COMPILE)gcc
+AR = $(CROSS_COMPILE)ar
+
 # guard against environment variables
 LIB_H=
 LIB_OBJS=