diff options
author | Kevin Hilman <khilman@baylibre.com> | 2018-12-19 09:18:37 -0800 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-12-19 09:23:58 -0800 |
commit | 8cb9b1ddbadc1f98afcaf6a33aa8a7e7fd4d34be (patch) | |
tree | 950ebd7143d369bd57fcff8bf056d999e3b59184 /lava-slave/deviceinfo | |
parent | 01409708b92a2acb2f8ff1da8d27054530c078f9 (diff) |
lavalab-gen: more flexible custom_options
Adding custom options for LAVA often requires specific formatting for
the LAVA jinja2 files, including single or double quotes. Rather than
also using quotes in the boards.yaml file, use YAML "plain style"[1]
avoids the need to add extra quotes or escapes.
When using the "|-" for plain style, the custom_options will appear to
lavalab-gen as a one long string, rather than a list of options, so
here we modify lavalab-gen to handle strings slightly differently than
a list.
[1] https://yaml.org/spec/1.2/spec.html#id2788859
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'lava-slave/deviceinfo')
0 files changed, 0 insertions, 0 deletions