Commit 5609c512 authored by Alex Bennée's avatar Alex Bennée Committed by Fam Zheng

tests/docker/Makefile.include: handle empty TARGET_LIST

If the user doesn't specify a TARGET_LIST they get the current
configuration but with spaces and hilarity ensues. This adds some make
magic to turn the TARGET_LIST back into a comma separated list.
Signed-off-by: 's avatarAlex Bennée <>

Message-Id: <>
Signed-off-by: 's avatarFam Zheng <>
parent 392fba9f
# These are used when we want to do substitutions without confusing Make
SPACE := $(NULL) #
COMMA := ,
# Don't use implicit rules or variables
......@@ -140,7 +140,7 @@ docker-run: docker-qemu-src
$(if $V,,--rm) \
$(if $(DEBUG),-ti,) \
$(if $(NETWORK),$(if $(subst $(NETWORK),,1),--net=$(NETWORK)),--net=none) \
-e V=$V -e J=$J -e DEBUG=$(DEBUG) \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment