build: avoids link error when CCACHE is not activated
Change-Id: I31d7578cc20b9b64c7c144935f93576b6349597e Signed-off-by: Fabien Chereau <fabien.chereau@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
f5f78432ed
commit
6d1ee7e8bf
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -323,7 +323,11 @@ endif
|
|||
# Make variables (CC, etc...)
|
||||
AS = $(CROSS_COMPILE)as
|
||||
LD = $(CROSS_COMPILE)ld
|
||||
ifeq ($(USE_CCACHE),1)
|
||||
CC = $(CCACHE) $(CROSS_COMPILE)gcc
|
||||
else
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
endif
|
||||
CPP = $(CC) -E
|
||||
AR = $(CROSS_COMPILE)ar
|
||||
NM = $(CROSS_COMPILE)nm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue