Skip to content

Commit

Permalink
makefiles/docker.inc.mk: use more directories in RIOT
Browse files Browse the repository at this point in the history
Use the directories from in RIOT if possible for RIOTCPU/RIOTBOARD/RIOTMAKE.
  • Loading branch information
cladmi committed Sep 6, 2018
1 parent e7e1d56 commit 96e75fd
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions makefiles/docker.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,9 @@ DOCKER_VOLUMES_AND_ENV += -e 'RIOTBASE=$(DOCKER_RIOTBASE)'
DOCKER_VOLUMES_AND_ENV += -e 'CCACHE_BASEDIR=$(DOCKER_RIOTBASE)'

DOCKER_VOLUMES_AND_ENV += $(call docker_volume_and_env,RIOTPROJECT,,riotproject)

DOCKER_VOLUMES_AND_ENV += -v '$(RIOTCPU):$(DOCKER_BUILD_ROOT)/riotcpu'
DOCKER_VOLUMES_AND_ENV += -e 'RIOTCPU=$(DOCKER_BUILD_ROOT)/riotcpu'
DOCKER_VOLUMES_AND_ENV += -v '$(RIOTBOARD):$(DOCKER_BUILD_ROOT)/riotboard'
DOCKER_VOLUMES_AND_ENV += -e 'RIOTBOARD=$(DOCKER_BUILD_ROOT)/riotboard'
DOCKER_VOLUMES_AND_ENV += -v '$(RIOTMAKE):$(DOCKER_BUILD_ROOT)/riotmake'
DOCKER_VOLUMES_AND_ENV += -e 'RIOTMAKE=$(DOCKER_BUILD_ROOT)/riotmake'
DOCKER_VOLUMES_AND_ENV += $(call docker_volume_and_env,RIOTCPU,,riotcpu)
DOCKER_VOLUMES_AND_ENV += $(call docker_volume_and_env,RIOTBOARD,,riotboard)
DOCKER_VOLUMES_AND_ENV += $(call docker_volume_and_env,RIOTMAKE,,riotmake)


# This will execute `make $(DOCKER_MAKECMDGOALS)` inside a Docker container.
Expand Down

0 comments on commit 96e75fd

Please sign in to comment.