Commit 12024aac authored by David Carrillo-Cisneros's avatar David Carrillo-Cisneros Committed by Arnaldo Carvalho de Melo

tools lib: Allow external definition of CC, AR and LD

Use already defined values for CC, AR and LD when available.
Signed-off-by: default avatarDavid Carrillo-Cisneros <davidcc@google.com>
Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Paul Turner <pjt@google.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20170827075442.108534-4-davidcc@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 39a59f1e
...@@ -8,9 +8,9 @@ srctree := $(patsubst %/,%,$(dir $(srctree))) ...@@ -8,9 +8,9 @@ srctree := $(patsubst %/,%,$(dir $(srctree)))
#$(info Determined 'srctree' to be $(srctree)) #$(info Determined 'srctree' to be $(srctree))
endif endif
CC = $(CROSS_COMPILE)gcc CC ?= $(CROSS_COMPILE)gcc
AR = $(CROSS_COMPILE)ar AR ?= $(CROSS_COMPILE)ar
LD = $(CROSS_COMPILE)ld LD ?= $(CROSS_COMPILE)ld
MAKEFLAGS += --no-print-directory MAKEFLAGS += --no-print-directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment