fix name of SConscript, add description to stubs.c and mem_std.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2435 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
xiongyihui3@gmail.com
2012-11-23 03:26:09 +00:00
parent 0cdbd69d56
commit 9fb62a5ff1
3 changed files with 83 additions and 24 deletions

View File

@@ -0,0 +1,16 @@
Import('rtconfig')
from building import *
if GetDepend('RT_USING_ARM_LIBC') and rtconfig.CROSS_TOOL != 'keil':
print '================ERROR=============================='
print 'Please use ARM CC compiler if using ARM C library'
print '==================================================='
exit(0)
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('libc', src, depend = ['RT_USING_ARM_LIBC'], CPPPATH = CPPPATH)
Return('group')