mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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.
This commit is contained in:
parent
13312ef11e
commit
357a4a0db9
@ -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)
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user