mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-24 16:55:15 +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__)) + "/../.."
|
||||
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
|
||||
cmd = ["cmake"]
|
||||
for opt, value in command_options.items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue