mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
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:
16
components/libc/armlibc/SConscript
Normal file
16
components/libc/armlibc/SConscript
Normal 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')
|
||||
Reference in New Issue
Block a user