mirror of https://github.com/ARMmbed/mbed-os.git
TEST: use mbed-tools build wrapper replace cmake build commands
parent
3558a7aa0e
commit
bf552af039
|
@ -383,7 +383,7 @@ def compile_repos(config, toolchains, targets, profiles, verbose, exp_filter, cm
|
||||||
logging.info("Compiling %s" % summary_string)
|
logging.info("Compiling %s" % summary_string)
|
||||||
|
|
||||||
if cmake:
|
if cmake:
|
||||||
build_command_seq = ["mbed-tools configure -t {} -m {}".format(toolchain,target), "cmake -S . -B CMAKE_BUILD -GNinja", "cmake --build CMAKE_BUILD"]
|
build_command_seq = ["mbed-tools build -t {} -m {} -c".format(toolchain, target)]
|
||||||
else:
|
else:
|
||||||
build_command_seq = ["mbed-cli compile -t {} -m {} -j {} {}".format(toolchain, target, str(jobs), '-vv' if verbose else '') ]
|
build_command_seq = ["mbed-cli compile -t {} -m {} -j {} {}".format(toolchain, target, str(jobs), '-vv' if verbose else '') ]
|
||||||
if profiles:
|
if profiles:
|
||||||
|
|
Loading…
Reference in New Issue