build: allows CC and CCX override from Makefile source files
Jira: ZEP-177 Change-Id: I318d6530d5ee369f5f154fde44377cec46c1624d Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@intel.com>
This commit is contained in:
parent
5516bcaa72
commit
164ecd0df9
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -301,8 +301,8 @@ ifeq ($(USE_CCACHE),1)
|
|||
CC = $(CCACHE) $(CROSS_COMPILE)gcc
|
||||
CXX = $(CCACHE) $(CROSS_COMPILE)g++
|
||||
else
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
CXX = $(CROSS_COMPILE)g++
|
||||
CC ?= $(CROSS_COMPILE)gcc
|
||||
CXX ?= $(CROSS_COMPILE)g++
|
||||
endif
|
||||
CPP = $(CC) -E
|
||||
AR = $(CROSS_COMPILE)ar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue