Skip to content
Snippets Groups Projects
Unverified Commit 357a4a0d authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

makefiles: make the build system aware of GIT_CACHE_DIR

Currently the default value was set by `dist/tools/git/git-cache`.
This moves/duplicates the default value in the build system.
parent 13312ef1
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ RIOTPKG ?= $(RIOTBASE)/pkg ...@@ -14,6 +14,7 @@ RIOTPKG ?= $(RIOTBASE)/pkg
RIOTTOOLS ?= $(RIOTBASE)/dist/tools RIOTTOOLS ?= $(RIOTBASE)/dist/tools
RIOTPROJECT ?= $(shell git rev-parse --show-toplevel 2>/dev/null || pwd) RIOTPROJECT ?= $(shell git rev-parse --show-toplevel 2>/dev/null || pwd)
GITCACHE ?= $(RIOTTOOLS)/git/git-cache GITCACHE ?= $(RIOTTOOLS)/git/git-cache
GIT_CACHE_DIR ?= $(HOME)/.gitcache
APPDIR ?= $(CURDIR) APPDIR ?= $(CURDIR)
BINDIRBASE ?= $(APPDIR)/bin BINDIRBASE ?= $(APPDIR)/bin
BINDIR ?= $(BINDIRBASE)/$(BOARD) BINDIR ?= $(BINDIRBASE)/$(BOARD)
......
...@@ -67,6 +67,7 @@ export UNDEF # Object files that the linker must include in the ...@@ -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 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 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 FLASHER # The command to call on "make flash".
export FFLAGS # The parameters to supply to FLASHER. export FFLAGS # The parameters to supply to FLASHER.
export FLASH_ADDR # Define an offset to flash code into ROM memory. export FLASH_ADDR # Define an offset to flash code into ROM memory.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment