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:
parent
688b6e2014
commit
b9cd2b6016
|
@ -871,7 +871,6 @@ def GenTargetProject(program = None):
|
||||||
if GetOption('target') == 'esp-idf':
|
if GetOption('target') == 'esp-idf':
|
||||||
from esp_idf import ESPIDFProject
|
from esp_idf import ESPIDFProject
|
||||||
ESPIDFProject(Env, Projects)
|
ESPIDFProject(Env, Projects)
|
||||||
exit(0)
|
|
||||||
|
|
||||||
def EndBuilding(target, program = None):
|
def EndBuilding(target, program = None):
|
||||||
|
|
||||||
|
@ -895,6 +894,7 @@ def EndBuilding(target, program = None):
|
||||||
|
|
||||||
if GetOption('target'):
|
if GetOption('target'):
|
||||||
GenTargetProject(program)
|
GenTargetProject(program)
|
||||||
|
need_exit = True
|
||||||
|
|
||||||
BSP_ROOT = Dir('#').abspath
|
BSP_ROOT = Dir('#').abspath
|
||||||
if GetOption('make-dist') and program != None:
|
if GetOption('make-dist') and program != None:
|
||||||
|
|
Loading…
Reference in New Issue