mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/docker.inc.mk: add DOCKER_APPDIR variable
Prepare for when it can have a different value.
This commit is contained in:
parent
a0f25ed47b
commit
378f9fd144
@ -84,6 +84,9 @@ DOCKER_OVERRIDE_CMDLINE := $(strip $(DOCKER_OVERRIDE_CMDLINE))
|
||||
# Overwrite if you want to use `docker` with sudo
|
||||
DOCKER ?= docker
|
||||
|
||||
|
||||
DOCKER_APPDIR = $(DOCKER_BUILD_ROOT)/riotproject/$(BUILDRELPATH)
|
||||
|
||||
# Mounted volumes and exported environment variables
|
||||
|
||||
# Add GIT_CACHE_DIR if the directory exists
|
||||
@ -128,5 +131,5 @@ ETC_LOCALTIME = $(realpath /etc/localtime)
|
||||
-e 'RIOTPROJECT=$(DOCKER_BUILD_ROOT)/riotproject' \
|
||||
$(DOCKER_VOLUMES_AND_ENV) \
|
||||
$(DOCKER_ENVIRONMENT_CMDLINE) \
|
||||
-w '$(DOCKER_BUILD_ROOT)/riotproject/$(BUILDRELPATH)' \
|
||||
-w '$(DOCKER_APPDIR)' \
|
||||
'$(DOCKER_IMAGE)' make $(DOCKER_MAKECMDGOALS) $(DOCKER_OVERRIDE_CMDLINE)
|
||||
|
Loading…
Reference in New Issue
Block a user