4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 13:49:22 +08:00
qiuyiuestc@gmail.com 1eca19cb01 eliminate compile warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1524 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-19 02:47:51 +00:00

15 lines
386 B
Python

Import('RTT_ROOT')
Import('rtconfig')
from building import *
src = Glob('*.c')
CPPPATH = [RTT_ROOT + '/components/finsh']
if rtconfig.CROSS_TOOL == 'keil':
LINKFLAGS = ' --keep __fsym_* --keep __vsym_* '
else:
LINKFLAGS = ''
group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS, LIBRARY = '')
Return('group')