forked from M-Labs/artiq
1
0
Fork 0

gateware: make software builds spew less junk on the console.

[ci skip]
This commit is contained in:
whitequark 2017-12-04 14:03:52 +00:00
parent 277b00eb9d
commit 1c25f7ef52
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import os import os
import subprocess
from misoc.cores import timer from misoc.cores import timer
from misoc.interconnect import wishbone from misoc.interconnect import wishbone
@ -49,4 +50,7 @@ def build_artiq_soc(soc, argdict):
builder.add_software_package("libunwind") builder.add_software_package("libunwind")
builder.add_software_package("ksupport", os.path.join(artiq_dir, "firmware", "ksupport")) builder.add_software_package("ksupport", os.path.join(artiq_dir, "firmware", "ksupport"))
builder.add_software_package("runtime", os.path.join(artiq_dir, "firmware", "runtime")) builder.add_software_package("runtime", os.path.join(artiq_dir, "firmware", "runtime"))
try:
builder.build() builder.build()
except subprocess.CalledProcessError as e:
raise SystemExit("Command {} failed".format(" ".join(e.cmd)))