diff --git a/firmware/Makefile b/firmware/Makefile index e4bd3712fa..196a4b88e5 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -43,15 +43,6 @@ ifeq ($(DEBUG_LEVEL_OPT),) # DEBUG_LEVEL_OPT = -O0 -ggdb -g endif - -ifeq ($(CCACHE_DIR),) - $(info No CCACHE_DIR) -else - $(info CCACHE_DIR is ${CCACHE_DIR}) - CCPREFIX=ccache -endif - - # Compiler options here. # 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 TRGT = $(CROSS_COMPILE) endif -CC = $(CCPREFIX) $(TRGT)gcc -CPPC = $(CCPREFIX) $(TRGT)g++ +CC = $(TRGT)gcc +CPPC = $(TRGT)g++ # 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++ # runtime support makes code size explode. diff --git a/firmware/bootloader/Makefile b/firmware/bootloader/Makefile index 8f94be4e41..2cef35886d 100644 --- a/firmware/bootloader/Makefile +++ b/firmware/bootloader/Makefile @@ -281,8 +281,8 @@ ifeq ($(CROSS_COMPILE),) else TRGT = $(CROSS_COMPILE) endif -CC = $(CCPREFIX) $(TRGT)gcc -CPPC = $(CCPREFIX) $(TRGT)g++ +CC = $(TRGT)gcc +CPPC = $(TRGT)g++ # 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++ # runtime support makes code size explode. diff --git a/simulator/Makefile b/simulator/Makefile index f1f21062f4..8d52fd86db 100644 --- a/simulator/Makefile +++ b/simulator/Makefile @@ -60,13 +60,6 @@ ifeq ($(SANITIZE),yes) USE_OPT += -fsanitize=address 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). ifeq ($(USE_COPT),) USE_COPT = -std=gnu99 @@ -224,8 +217,8 @@ else TRGT = endif -CC = $(CCPREFIX) $(TRGT)gcc -CPPC = $(CCPREFIX) $(TRGT)g++ +CC = $(TRGT)gcc +CPPC = $(TRGT)g++ # 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++ # runtime support makes code size explode. diff --git a/unit_tests/unit_test_rules.mk b/unit_tests/unit_test_rules.mk index cd9782a0a3..6f705f9a48 100644 --- a/unit_tests/unit_test_rules.mk +++ b/unit_tests/unit_test_rules.mk @@ -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 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). ifeq ($(USE_COPT),) USE_COPT = -std=gnu99 -fgnu89-inline @@ -126,8 +119,8 @@ else TRGT = endif -CC = $(CCPREFIX) $(TRGT)gcc -CPPC = $(CCPREFIX) $(TRGT)g++ +CC = $(TRGT)gcc +CPPC = $(TRGT)g++ # 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++ # runtime support makes code size explode.