From: Rabin Vincent Date: Fri, 17 May 2013 20:27:44 +0000 (+0200) Subject: tools lib lk: Respect CROSS_COMPILE X-Git-Tag: v3.11-rc1~144^2~26^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c4797d46c14fa0c7cf733a77bd4b28875078b53;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Cc: Ingo Molnar Cc: Borislav Petkov Link: http://lkml.kernel.org/r/1368822464-4887-1-git-send-email-rabin@rab.in Signed-off-by: Arnaldo Carvalho de Melo --- 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=