mirror of https://github.com/ARMmbed/mbed-os.git
rm ["python", "-m"] from build_command
parent
3665209df8
commit
8137974232
|
@ -391,7 +391,7 @@ def compile_repos(config, toolchains, targets, profile, verbose, examples):
|
|||
valid_choices(example['toolchains'], toolchains),
|
||||
example['features']):
|
||||
print("Compiling %s for %s, %s" % (name, target, toolchain))
|
||||
build_command = ["python", "-m", "mbed", "compile", "-t", toolchain, "-m", target] + (['-v'] if verbose else [])
|
||||
build_command = ["mbed-cli", "compile", "-t", toolchain, "-m", target] + (['-v'] if verbose else [])
|
||||
|
||||
if profile:
|
||||
build_command.append("--profile")
|
||||
|
|
Loading…
Reference in New Issue