mirror of https://github.com/FOME-Tech/fome-fw.git
remove ccache (#288)
This commit is contained in:
parent
19b6222d98
commit
e5a751e3b1
|
@ -43,15 +43,6 @@ ifeq ($(DEBUG_LEVEL_OPT),)
|
||||||
# DEBUG_LEVEL_OPT = -O0 -ggdb -g
|
# DEBUG_LEVEL_OPT = -O0 -ggdb -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(CCACHE_DIR),)
|
|
||||||
$(info No CCACHE_DIR)
|
|
||||||
else
|
|
||||||
$(info CCACHE_DIR is ${CCACHE_DIR})
|
|
||||||
CCPREFIX=ccache
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
# Compiler options here.
|
# Compiler options here.
|
||||||
# yes we have two kinds of EXTRA_*PARAMS so that we can define those in two different places independently
|
# yes we have two kinds of EXTRA_*PARAMS so that we can define those in two different places independently
|
||||||
#
|
#
|
||||||
|
@ -299,8 +290,8 @@ ifeq ($(CROSS_COMPILE),)
|
||||||
else
|
else
|
||||||
TRGT = $(CROSS_COMPILE)
|
TRGT = $(CROSS_COMPILE)
|
||||||
endif
|
endif
|
||||||
CC = $(CCPREFIX) $(TRGT)gcc
|
CC = $(TRGT)gcc
|
||||||
CPPC = $(CCPREFIX) $(TRGT)g++
|
CPPC = $(TRGT)g++
|
||||||
# Enable loading with g++ only if you need C++ runtime support.
|
# Enable loading with g++ only if you need C++ runtime support.
|
||||||
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
||||||
# runtime support makes code size explode.
|
# runtime support makes code size explode.
|
||||||
|
|
|
@ -281,8 +281,8 @@ ifeq ($(CROSS_COMPILE),)
|
||||||
else
|
else
|
||||||
TRGT = $(CROSS_COMPILE)
|
TRGT = $(CROSS_COMPILE)
|
||||||
endif
|
endif
|
||||||
CC = $(CCPREFIX) $(TRGT)gcc
|
CC = $(TRGT)gcc
|
||||||
CPPC = $(CCPREFIX) $(TRGT)g++
|
CPPC = $(TRGT)g++
|
||||||
# Enable loading with g++ only if you need C++ runtime support.
|
# Enable loading with g++ only if you need C++ runtime support.
|
||||||
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
||||||
# runtime support makes code size explode.
|
# runtime support makes code size explode.
|
||||||
|
|
|
@ -60,13 +60,6 @@ ifeq ($(SANITIZE),yes)
|
||||||
USE_OPT += -fsanitize=address
|
USE_OPT += -fsanitize=address
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CCACHE_DIR),)
|
|
||||||
$(info No CCACHE_DIR)
|
|
||||||
else
|
|
||||||
$(info CCACHE_DIR is ${CCACHE_DIR})
|
|
||||||
CCPREFIX=ccache
|
|
||||||
endif
|
|
||||||
|
|
||||||
# C specific options here (added to USE_OPT).
|
# C specific options here (added to USE_OPT).
|
||||||
ifeq ($(USE_COPT),)
|
ifeq ($(USE_COPT),)
|
||||||
USE_COPT = -std=gnu99
|
USE_COPT = -std=gnu99
|
||||||
|
@ -224,8 +217,8 @@ else
|
||||||
TRGT =
|
TRGT =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CC = $(CCPREFIX) $(TRGT)gcc
|
CC = $(TRGT)gcc
|
||||||
CPPC = $(CCPREFIX) $(TRGT)g++
|
CPPC = $(TRGT)g++
|
||||||
# Enable loading with g++ only if you need C++ runtime support.
|
# Enable loading with g++ only if you need C++ runtime support.
|
||||||
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
||||||
# runtime support makes code size explode.
|
# runtime support makes code size explode.
|
||||||
|
|
|
@ -56,13 +56,6 @@ USE_OPT += -DEFI_UNIT_TEST=1 -DEFI_PROD_CODE=0 -DEFI_SIMULATOR=0
|
||||||
# Pretend we are all different hardware so that all canned engine configs are included
|
# Pretend we are all different hardware so that all canned engine configs are included
|
||||||
USE_OPT += -DHW_MICRO_RUSEFI=1 -DHW_PROTEUS=1 -DHW_FRANKENSO=1 -DHW_HELLEN=1
|
USE_OPT += -DHW_MICRO_RUSEFI=1 -DHW_PROTEUS=1 -DHW_FRANKENSO=1 -DHW_HELLEN=1
|
||||||
|
|
||||||
ifeq ($(CCACHE_DIR),)
|
|
||||||
$(info No CCACHE_DIR)
|
|
||||||
else
|
|
||||||
$(info CCACHE_DIR is ${CCACHE_DIR})
|
|
||||||
CCPREFIX=ccache
|
|
||||||
endif
|
|
||||||
|
|
||||||
# C specific options here (added to USE_OPT).
|
# C specific options here (added to USE_OPT).
|
||||||
ifeq ($(USE_COPT),)
|
ifeq ($(USE_COPT),)
|
||||||
USE_COPT = -std=gnu99 -fgnu89-inline
|
USE_COPT = -std=gnu99 -fgnu89-inline
|
||||||
|
@ -126,8 +119,8 @@ else
|
||||||
TRGT =
|
TRGT =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CC = $(CCPREFIX) $(TRGT)gcc
|
CC = $(TRGT)gcc
|
||||||
CPPC = $(CCPREFIX) $(TRGT)g++
|
CPPC = $(TRGT)g++
|
||||||
# Enable loading with g++ only if you need C++ runtime support.
|
# Enable loading with g++ only if you need C++ runtime support.
|
||||||
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
||||||
# runtime support makes code size explode.
|
# runtime support makes code size explode.
|
||||||
|
|
Loading…
Reference in New Issue