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)
This commit is contained in:
YangZhongQing 2022-09-25 19:01:45 +08:00 committed by Man, Jianting (Meco)
parent 688b6e2014
commit b9cd2b6016
1 changed files with 1 additions and 1 deletions

View File

@ -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: