diff options
author | Joel Challis <[email protected]> | 2021-10-21 14:39:13 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-21 14:39:13 +0100 |
commit | b36e0c66581b5ec0e3aff5212857e9694115e66c (patch) | |
tree | 9f5b4e7b2a294353598e123a659897cebe83a23d /tmk_core/rules.mk | |
parent | 1816006121de991581d50d0bc6b5a653e2b3ccd2 (diff) | |
download | qmk_firmware-b36e0c66581b5ec0e3aff5212857e9694115e66c.tar.gz qmk_firmware-b36e0c66581b5ec0e3aff5212857e9694115e66c.zip |
Move USE_CCACHE logic to common location (#14899)
Diffstat (limited to 'tmk_core/rules.mk')
-rw-r--r-- | tmk_core/rules.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index 5a629d1eb0..4c547cfd24 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -69,8 +69,11 @@ CSTANDARD = -std=gnu99 #CXXDEFS += -D__STDC_CONSTANT_MACROS #CXXDEFS += - - +# Speed up recompilations by opt-in usage of ccache +USE_CCACHE ?= yes +ifneq ($(USE_CCACHE),no) + CC_PREFIX ?= ccache +endif #---------------- Compiler Options C ---------------- # -g*: generate debugging information |