summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
authorkhilman <khilman@users.noreply.github.com>2018-02-02 10:24:49 -0800
committerGitHub <noreply@github.com>2018-02-02 10:24:49 -0800
commite3b883de8c99832687aeb5950f2114a992541d75 (patch)
treeb6a41fadc6f405c6517b5f87be62af98f00602cf /lavalab-gen.py
parent3177c39ace236c22bf7d29ebac13e0b73f4ae39f (diff)
parente93a8b174964a1cff91bfe3da8560ae3bdc41a8e (diff)
Merge pull request #15 from montjoie/lavastable
stick to 2017.11
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()