diff options
author | Rabin Vincent <rabin@rab.in> | 2013-05-17 16:27:44 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-05-29 08:46:36 -0400 |
commit | 3c4797d46c14fa0c7cf733a77bd4b28875078b53 (patch) | |
tree | ea31aa53e132dfba91309bbe22e6922d1c367c89 /tools | |
parent | 0ac129e008971aea9f6b17cb77a12e2ffc9dc80c (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>
Diffstat (limited to 'tools')
-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 926cbf3efc7f..2c5a19733357 100644 --- a/tools/lib/lk/Makefile +++ b/tools/lib/lk/Makefile | |||
@@ -1,5 +1,8 @@ | |||
1 | include ../../scripts/Makefile.include | 1 | include ../../scripts/Makefile.include |
2 | 2 | ||
3 | CC = $(CROSS_COMPILE)gcc | ||
4 | AR = $(CROSS_COMPILE)ar | ||
5 | |||
3 | # guard against environment variables | 6 | # guard against environment variables |
4 | LIB_H= | 7 | LIB_H= |
5 | LIB_OBJS= | 8 | LIB_OBJS= |