CMake options printed when building a firmware
This commit is contained in:
@@ -40,7 +40,9 @@ def build(board, srcdir):
|
|||||||
os.mkdir("output")
|
os.mkdir("output")
|
||||||
path = tempfile.mkdtemp()
|
path = tempfile.mkdtemp()
|
||||||
os.chdir(path)
|
os.chdir(path)
|
||||||
os.system("cmake -DPCB=%s %s -DFRSKY_RELEASE=YES %s" % (board, cmake_options, srcdir))
|
command = "cmake -DPCB=%s %s -DFRSKY_RELEASE=YES %s" % (board, cmake_options, srcdir)
|
||||||
|
print(command)
|
||||||
|
os.system(command)
|
||||||
os.system("make firmware -j6")
|
os.system("make firmware -j6")
|
||||||
os.chdir(cwd)
|
os.chdir(cwd)
|
||||||
index = 0
|
index = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user