summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2018-06-05 12:47:00 -0700
committerKevin Hilman <khilman@baylibre.com>2018-06-05 12:47:58 -0700
commit067e2bfcc8abef72245d9050bb1a7209e56b8e9a (patch)
tree8c07f476f98dc29fe7ff4e6e9dceade43634e99e
parentc1071d0f9b57958b22546abe8eadf670b3926b98 (diff)
lavalab-gen: add \n between custom options
If a board has mutliple custom options, they need to be separated by a newline. Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rwxr-xr-xlavalab-gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index 13677c8..6df9cf4 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -345,7 +345,7 @@ def main():
device_line += "{%% set fastboot_serial_number = '%s' %%}" % fserial
if "custom_option" in board:
for coption in board["custom_option"]:
- device_line += "{%% %s %%}" % coption
+ device_line += "{%% %s %%}\n" % coption
if not os.path.isdir(device_path):
os.mkdir(device_path)
if not os.path.isdir(devices_path):