提交 37292647 编写于 作者: B Bernard Xiong

[GDB] Fix compiling error when not enable GDB.

上级 e5a1a9f5
Import('rtconfig')
from building import *
src = Glob('*.c')
comm = 'libcpu/' + rtconfig.ARCH
if (rtconfig.CPU == 'cortex-m4') or (rtconfig.CPU == 'cortex-m3'):
comm = 'libcpu/cortexm'
cwd = GetCurrentDir()
if rtconfig.PLATFORM == 'armcc':
src = Glob('*.c') + Glob(comm + '/*.c') + Glob(comm + '/*_rvds.S')
src = src + Glob(comm + '/*.c') + Glob(comm + '/*_rvds.S')
if rtconfig.PLATFORM == 'gcc':
src = Glob('*.c') + Glob(comm + '/*.c') + Glob(comm + '/*_gcc.S')
src = src + Glob(comm + '/*.c') + Glob(comm + '/*_gcc.S')
if rtconfig.PLATFORM == 'iar':
src = Glob('*.c') + Glob(comm + '/*.c') + Glob(comm + '/*_iar.S')
src = src + Glob(comm + '/*.c') + Glob(comm + '/*_iar.S')
CPPPATH = [cwd, cwd + '/' + comm]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册