aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2013-05-17 22:27:44 +0200
committerMark Brown <broonie@linaro.org>2013-08-21 16:10:10 +0100
commit9991ec3a98f0d3001db89565ec91f67a7001539c (patch)
tree4f80c4544d1ac0ae27e87649bf23049fd14f5193
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff)
tools lib lk: Respect CROSS_COMPILE
Make lk use CROSS_COMPILE, in order to be able to cross compile perf again. Signed-off-by: Rabin Vincent <rabin@rab.in> Cc: Ingo Molnar <mingo@kernel.org> Cc: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1368822464-4887-1-git-send-email-rabin@rab.in Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> (cherry picked from commit 3c4797d46c14fa0c7cf733a77bd4b28875078b53)
-rw-r--r--tools/lib/lk/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/lk/Makefile b/tools/lib/lk/Makefile
index 926cbf3efc7..2c5a1973335 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=