CMake options printed when building a firmware

This commit is contained in:
Bertrand Songis
2019-05-24 07:47:54 +02:00
parent 3bc9449aa9
commit 9c888bb2ce
+3 -1
View File
@@ -40,7 +40,9 @@ def build(board, srcdir):
os.mkdir("output")
path = tempfile.mkdtemp()
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.chdir(cwd)
index = 0