diff options
| author | YangZhongQing <[email protected]> | 2022-09-25 19:01:45 +0800 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2022-09-29 21:03:38 -0400 |
| commit | b9cd2b6016a96f7000987b14d8896f8543ab02c0 (patch) | |
| tree | 46e6a7b4264489a2ee2ca1509a65ae445eb40072 | |
| parent | 688b6e20144eccaf6a8537fb39669684c7031224 (diff) | |
build: EndBuilding need_exit after GenTargetProject
User choice IDE build, after GenTargetProject there's no need to do the rest.
并且,既然用户指定了IDE,接下来的命令行编译却仍然是使用arm-none-eabi-gcc,为什么不是用IDE的编译器呢?(也许是个bug)
| -rw-r--r-- | tools/building.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/building.py b/tools/building.py index 2512ad6c76..dfcfd1b689 100644 --- a/tools/building.py +++ b/tools/building.py @@ -871,7 +871,6 @@ def GenTargetProject(program = None): if GetOption('target') == 'esp-idf': from esp_idf import ESPIDFProject ESPIDFProject(Env, Projects) - exit(0) def EndBuilding(target, program = None): @@ -895,6 +894,7 @@ def EndBuilding(target, program = None): if GetOption('target'): GenTargetProject(program) + need_exit = True BSP_ROOT = Dir('#').abspath if GetOption('make-dist') and program != None: |
