summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlavalab-gen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index 08e2649..037b5ff 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -125,6 +125,9 @@ def main():
if "fastboot_serial_number" in b:
fserial = b["fastboot_serial_number"]
device_line += "{%% set fastboot_serial_number = '%s' %%}" % fserial
+ if "custom_option" in b:
+ for coption in b["custom_option"]:
+ device_line += "{%% %s %%}" % coption
# board specific hacks
if devicetype == "qemu" and not use_kvm: