infra/utils: add helper to generate comma-separated lists
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 15 Apr 2019 19:47:27 +0000 (21:47 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 15 Apr 2019 21:24:13 +0000 (23:24 +0200)
commit9bde598ced805f1f4c437ca53dcb3313e9ea57f2
treee59fd91c54c25d61c24e2aaf11c1d7b47220bd05
parent5a0d6813948fea2cdb88a2e35984520eec856dec
infra/utils: add helper to generate comma-separated lists

Add a helper macro that, from a space-separated list of items, returns a
comma-separated list of the quoted items.

This will be useful when we need to generate lists in JSON, later...

Code suggested by Thomas P.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
support/misc/utils.mk