mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 03:39:22 +08:00
b07bd9b030
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2294 bbd45198-f89e-11dd-88c7-29a3b14d5316
15 lines
342 B
Python
15 lines
342 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')
|