mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 05:19:23 +08:00
10732a76e9
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
15 lines
370 B
Python
15 lines
370 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)
|
|
|
|
Return('group')
|