diff --git a/Makefile.include b/Makefile.include index 2c1dd40102a3786607ea15d61afb4a51225fbd58..d4425a46c6a119f71572629d51630fc220ad4dac 100644 --- a/Makefile.include +++ b/Makefile.include @@ -14,6 +14,7 @@ RIOTPKG ?= $(RIOTBASE)/pkg RIOTTOOLS ?= $(RIOTBASE)/dist/tools RIOTPROJECT ?= $(shell git rev-parse --show-toplevel 2>/dev/null || pwd) GITCACHE ?= $(RIOTTOOLS)/git/git-cache +GIT_CACHE_DIR ?= $(HOME)/.gitcache APPDIR ?= $(CURDIR) BINDIRBASE ?= $(APPDIR)/bin BINDIR ?= $(BINDIRBASE)/$(BOARD) diff --git a/makefiles/vars.inc.mk b/makefiles/vars.inc.mk index 3492bffbf0b09516691cfb179de9c75bc0ebd7d2..0dee7327642c3beeeb7510f1d8d6b4436b970fca 100644 --- a/makefiles/vars.inc.mk +++ b/makefiles/vars.inc.mk @@ -67,6 +67,7 @@ export UNDEF # Object files that the linker must include in the export WERROR # Treat all compiler warnings as errors if set to 1 (see -Werror flag in GCC manual) export GITCACHE # path to git-cache executable +export GIT_CACHE_DIR # path to git-cache cache directory export FLASHER # The command to call on "make flash". export FFLAGS # The parameters to supply to FLASHER. export FLASH_ADDR # Define an offset to flash code into ROM memory.