From 067e2bfcc8abef72245d9050bb1a7209e56b8e9a Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Tue, 5 Jun 2018 12:47:00 -0700 Subject: 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 --- lavalab-gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit 1.2.3-korg