cvw/docs/docker/get_buildroot_testvector.py

15 lines
470 B
Python
Raw Permalink Normal View History

2024-12-17 23:34:56 +00:00
import shutil
import os
# if WALLY is defined, then get it
WALLY_HOME = os.getenv("WALLY")
if WALLY_HOME is None or WALLY_HOME == "":
# otherwise, it is assumed as ../../
WALLY_HOME = "../../"
BUILDROOT_SRC = "linux/buildroot-config-src/wally"
TESTVECTOR_SRC = "linux/testvector-generation"
shutil.copytree(os.path.join(WALLY_HOME, BUILDROOT_SRC), "./buildroot-config-src")
2024-12-18 00:32:49 +00:00
shutil.copytree(os.path.join(WALLY_HOME, TESTVECTOR_SRC), "./testvector-generation")