diff options
author | Alex Bennée | 2018-05-21 12:35:04 +0200 |
---|---|---|
committer | Fam Zheng | 2018-06-04 08:39:18 +0200 |
commit | 5609c5127dcdcb68fbc76958435a2986f095d939 (patch) | |
tree | 79e9685ad31b2e24879635242d5f9f94e122d9d3 /tests/docker | |
parent | Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-updates-010618... (diff) | |
download | qemu-5609c5127dcdcb68fbc76958435a2986f095d939.tar.gz qemu-5609c5127dcdcb68fbc76958435a2986f095d939.tar.xz qemu-5609c5127dcdcb68fbc76958435a2986f095d939.zip |
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: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20180521103504.26432-1-alex.bennee@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'tests/docker')
-rw-r--r-- | tests/docker/Makefile.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 31f21a43f5..9d5749887a 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -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 TARGET_LIST=$(TARGET_LIST) \ + -e TARGET_LIST=$(subst $(SPACE),$(COMMA),$(TARGET_LIST)) \ -e EXTRA_CONFIGURE_OPTS="$(EXTRA_CONFIGURE_OPTS)" \ -e V=$V -e J=$J -e DEBUG=$(DEBUG) \ -e SHOW_ENV=$(SHOW_ENV) \ |