mirror of
https://github.com/enjoy-digital/usb3_pipe.git
synced 2025-01-04 10:18:41 +08:00
build: make sure to create build/gateware directory if not existing
This commit is contained in:
parent
ab55a49da3
commit
36ae5c8bb6
1
kc705.py
1
kc705.py
@ -207,6 +207,7 @@ def main():
|
||||
|
||||
if args.build:
|
||||
print("[build]...")
|
||||
os.makedirs("build/gateware", exist_ok=True)
|
||||
os.system("cd usb3_core/daisho && make && ./usb_descrip_gen")
|
||||
os.system("cp usb3_core/daisho/usb3/*.init build/gateware/")
|
||||
platform = kc705.Platform()
|
||||
|
1
netv2.py
1
netv2.py
@ -158,6 +158,7 @@ def main():
|
||||
|
||||
if args.build:
|
||||
print("[build {}]...".format(args.device))
|
||||
os.makedirs("build/gateware", exist_ok=True)
|
||||
os.system("cd usb3_core/daisho && make && ./usb_descrip_gen")
|
||||
os.system("cp usb3_core/daisho/usb3/*.init build/gateware/")
|
||||
platform = netv2.Platform(device=args.device)
|
||||
|
@ -158,6 +158,7 @@ def main():
|
||||
|
||||
if args.build:
|
||||
print("[build]...")
|
||||
os.makedirs("build/gateware", exist_ok=True)
|
||||
os.system("cd usb3_core/daisho && make && ./usb_descrip_gen")
|
||||
os.system("cp usb3_core/daisho/usb3/*.init build/gateware/")
|
||||
platform = pcie_screamer.Platform()
|
||||
|
@ -221,7 +221,8 @@ def main():
|
||||
parser.print_help()
|
||||
|
||||
if args.build:
|
||||
print("[build ({})]...".format(args.device))
|
||||
print("[build]...")
|
||||
os.makedirs("build/gateware", exist_ok=True)
|
||||
os.system("cd usb3_core/daisho && make && ./usb_descrip_gen")
|
||||
os.system("cp usb3_core/daisho/usb3/*.init build/gateware/")
|
||||
platform = versa_ecp5.Platform(toolchain="trellis")
|
||||
|
Loading…
x
Reference in New Issue
Block a user