mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-26 01:35:16 +03:00
Fix for stretch cmake in docker environment
This commit is contained in:
parent
18ff09d52f
commit
04ab98a634
1 changed files with 4 additions and 0 deletions
|
@ -190,6 +190,10 @@ def build_firmware(path):
|
||||||
srcdir = os.path.dirname(os.path.realpath(__file__)) + "/../.."
|
srcdir = os.path.dirname(os.path.realpath(__file__)) + "/../.."
|
||||||
outpath = path + ".out"
|
outpath = path + ".out"
|
||||||
|
|
||||||
|
# cmake 3.7.2 cannot work from / so we need to go into a subdir
|
||||||
|
os.mkdir("/build")
|
||||||
|
os.chdir("/build")
|
||||||
|
|
||||||
# Launch CMake
|
# Launch CMake
|
||||||
cmd = ["cmake"]
|
cmd = ["cmake"]
|
||||||
for opt, value in command_options.items():
|
for opt, value in command_options.items():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue