aboutsummaryrefslogtreecommitdiff
path: root/rules.mak
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2018-05-21 11:35:04 +0100
committerFam Zheng <famz@redhat.com>2018-06-04 14:39:18 +0800
commit5609c5127dcdcb68fbc76958435a2986f095d939 (patch)
tree79e9685ad31b2e24879635242d5f9f94e122d9d3 /rules.mak
parent392fba9f583223786f844dce9b2e7f9a0ce0147a (diff)
downloadqemu-5609c5127dcdcb68fbc76958435a2986f095d939.zip
qemu-5609c5127dcdcb68fbc76958435a2986f095d939.tar.gz
qemu-5609c5127dcdcb68fbc76958435a2986f095d939.tar.bz2
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 'rules.mak')
-rw-r--r--rules.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.mak b/rules.mak
index 04c7f74..bbb2667 100644
--- a/rules.mak
+++ b/rules.mak
@@ -1,4 +1,7 @@
+# These are used when we want to do substitutions without confusing Make
+NULL :=
+SPACE := $(NULL) #
COMMA := ,
# Don't use implicit rules or variables