Skip to content

Commit 276ad18

Browse files
committed
examples/gnrc_border_router: pass UPLINK etc to docker
This allows configuration of the app as described even when using `BUILD_IN_DOCKER=1`.
1 parent de0036f commit 276ad18

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/gnrc_border_router/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@ endif
123123
# the variable to empty
124124
SHOULD_RUN_KCONFIG ?=
125125

126+
# Pass through application configuration to the docker container, if
127+
# BUILD_IN_DOCKER=1 is used:
128+
DOCKER_ENV_VARS += IPV6_ADDR
129+
DOCKER_ENV_VARS += IPV6_DEFAULT_ROUTER
130+
DOCKER_ENV_VARS += IPV6_PREFIX IPV6_DEFAULT_ROUTER
131+
DOCKER_ENV_VARS += PREFIX_CONF
132+
DOCKER_ENV_VARS += UPLINK
133+
126134
include $(RIOTBASE)/Makefile.include
127135

128136
# Compile-time configuration for DHCPv6 client (needs to come after

0 commit comments

Comments
 (0)