1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/gcoap: pass through variables to docker

Pass through application configuration environment variables to docker,
so that one can use e.g. `make LWIP_IPV4=1 BUILD_IN_DOCKER=1`.
This commit is contained in:
Marian Buschsieweke 2024-04-26 15:18:36 +02:00
parent 925644e4ce
commit 0212caf7e0
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6

View File

@ -73,6 +73,13 @@ ifeq (1,$(USE_ZEP))
USEMODULE += socket_zep
endif
# Pass through application configuration to the docker container, if
# BUILD_IN_DOCKER=1 is used:
DOCKER_ENV_VARS += LWIP_IPV4
DOCKER_ENV_VARS += LWIP_IPV6
DOCKER_ENV_VARS += USE_ZEP
DOCKER_ENV_VARS += ZEP_PORT_BASE
include $(RIOTBASE)/Makefile.include
# For now this goes after the inclusion of Makefile.include so Kconfig symbols