From 0212caf7e0fd80a597fb51d1f0812e8063640299 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 26 Apr 2024 15:18:36 +0200 Subject: [PATCH] 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`. --- examples/gcoap/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/gcoap/Makefile b/examples/gcoap/Makefile index 93bfc25e1b..89805fe1ce 100644 --- a/examples/gcoap/Makefile +++ b/examples/gcoap/Makefile @@ -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