diff options
author | Rabin Vincent <rabin@rab.in> | 2013-05-17 22:27:44 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:43:36 +0900 |
commit | 0cc98a9b0d54db4881fc6e6a0795ef8b9eedec4c (patch) | |
tree | 31912e49c441f3d685a451e6a711ff5d78216fb7 /tools/lib | |
parent | 7dbd6de4127784dd671a03a63f95c9718f872991 (diff) | |
download | linux-3.10-0cc98a9b0d54db4881fc6e6a0795ef8b9eedec4c.tar.gz linux-3.10-0cc98a9b0d54db4881fc6e6a0795ef8b9eedec4c.tar.bz2 linux-3.10-0cc98a9b0d54db4881fc6e6a0795ef8b9eedec4c.zip |
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>
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/lk/Makefile | 3 |
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= |