summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-xlavalab-gen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index e5f5db0..379f6b9 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -7,6 +7,7 @@ import argparse
import yaml
import string
import socket
+import shutil
# Defaults
boards_yaml = "boards.yaml"
@@ -146,6 +147,8 @@ def main(args):
yaml.dump(dockcomp, f)
if __name__ == "__main__":
+ shutil.copy("common/build-lava", "lava-slave/scripts/build-lava")
+ shutil.copy("common/build-lava", "lava-master/scripts/build-lava")
parser = argparse.ArgumentParser()
parser.add_argument("--header", help="use this file as header for output file")
args = parser.parse_args()