Skip to content

Commit 904c971

Browse files
committed
ccache support
1 parent f61f8e7 commit 904c971

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
include Makefile.defs
32
-include Makefile.platform
43
-include .Makefile.options.cache
4+
include Makefile.defs
55
include common_arm/Makefile.hal
66

77
# preserve relative DESTDIR path for subdir makes

Makefile.platform.sample

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ PLATFORM=PM3RDV4
66
# If you want more than one PLATFORM_EXTRAS option, separate them by spaces:
77
#PLATFORM_EXTRAS=BTADDON
88
#STANDALONE=LF_SAMYRUN
9+
10+
# To accelerate repetitive compilations:
11+
# Install package "ccache" -> Debian/Ubuntu: /usr/lib/ccache, Fedora/CentOS/RHEL: /usr/lib64/ccache
12+
# And uncomment the following line
13+
#export PATH := /usr/lib64/ccache:/usr/lib/ccache:${PATH}

client/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
# the license.
55
#-----------------------------------------------------------------------------
66

7-
include ../Makefile.defs
87
ifeq ($(PLTNAME),)
98
-include ../Makefile.platform
109
-include ../.Makefile.options.cache
1110
ifneq ($(PLATFORM), $(CACHED_PLATFORM))
1211
$(error platform definitions have been changed, please "make clean" at the root of the project)
1312
endif
1413
endif
14+
include ../Makefile.defs
1515

1616
ifeq ($(PLATFORM),PM3ICOPYX)
1717
INCLUDES += -DICOPYX

0 commit comments

Comments
 (0)