ccache support

This commit is contained in:
Philippe Teuwen 2021-09-08 21:08:34 +02:00
parent f61f8e7f92
commit 904c971a7a
3 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,7 @@
include Makefile.defs
-include Makefile.platform
-include .Makefile.options.cache
include Makefile.defs
include common_arm/Makefile.hal
# preserve relative DESTDIR path for subdir makes

View file

@ -6,3 +6,8 @@ PLATFORM=PM3RDV4
# If you want more than one PLATFORM_EXTRAS option, separate them by spaces:
#PLATFORM_EXTRAS=BTADDON
#STANDALONE=LF_SAMYRUN
# To accelerate repetitive compilations:
# Install package "ccache" -> Debian/Ubuntu: /usr/lib/ccache, Fedora/CentOS/RHEL: /usr/lib64/ccache
# And uncomment the following line
#export PATH := /usr/lib64/ccache:/usr/lib/ccache:${PATH}

View file

@ -4,7 +4,6 @@
# the license.
#-----------------------------------------------------------------------------
include ../Makefile.defs
ifeq ($(PLTNAME),)
-include ../Makefile.platform
-include ../.Makefile.options.cache
@ -12,6 +11,7 @@ ifeq ($(PLTNAME),)
$(error platform definitions have been changed, please "make clean" at the root of the project)
endif
endif
include ../Makefile.defs
ifeq ($(PLATFORM),PM3ICOPYX)
INCLUDES += -DICOPYX