mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 13:49:22 +08:00
2d91252fdd
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1932 bbd45198-f89e-11dd-88c7-29a3b14d5316
15 lines
348 B
Python
15 lines
348 B
Python
Import('rtconfig')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
CPPPATH = [cwd]
|
|
if rtconfig.CROSS_TOOL == 'keil':
|
|
LINKFLAGS = ' --keep __fsym_* --keep __vsym_* '
|
|
else:
|
|
LINKFLAGS = ''
|
|
|
|
group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS)
|
|
|
|
Return('group')
|