提交 b9cd2b60 编写于 作者: taiexinleni's avatar taiexinleni 提交者: mysterywolf

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)
上级 688b6e20
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册