Skip to content

Commit

Permalink
ccache support
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Sep 8, 2021
1 parent f61f8e7 commit 904c971
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions Makefile.platform.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 1 addition & 1 deletion client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# the license.
#-----------------------------------------------------------------------------

include ../Makefile.defs
ifeq ($(PLTNAME),)
-include ../Makefile.platform
-include ../.Makefile.options.cache
ifneq ($(PLATFORM), $(CACHED_PLATFORM))
$(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
Expand Down

0 comments on commit 904c971

Please sign in to comment.