aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/lk/Makefile
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2013-05-28 18:57:43 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-06-21 20:19:48 +0400
commitb660da8c764b541d362026d39c7da3b8fd4e7997 (patch)
treeb3f3caa601fa87ac86d48d64e73b36c80c72a3a7 /tools/lib/lk/Makefile
parentad3550dc75a5e8b6784b8b089abae4b452ab3bae (diff)
Add cross-build support to tools/lib/lk librarysamsung-linux-3.10-rc6-2013.06
Signed-off-by: Wookey <wookey@wookware.org>
Diffstat (limited to 'tools/lib/lk/Makefile')
-rw-r--r--tools/lib/lk/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/lk/Makefile b/tools/lib/lk/Makefile
index 926cbf3efc7..bcfb7bcc789 100644
--- a/tools/lib/lk/Makefile
+++ b/tools/lib/lk/Makefile
@@ -15,6 +15,8 @@ EXTLIBS = -lpthread -lrt -lelf -lm
ALL_CFLAGS = $(CFLAGS) $(BASIC_CFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
ALL_LDFLAGS = $(LDFLAGS)
+CC = $(CROSS_COMPILE)gcc
+AR = $(CROSS_COMPILE)ar
RM = rm -f
$(LIBFILE): $(LIB_OBJS)