mirror of https://github.com/m-labs/artiq.git
gateware: make software builds spew less junk on the console.
[ci skip]
This commit is contained in:
parent
277b00eb9d
commit
1c25f7ef52
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue