diff options
| author | [email protected] <[email protected]> | 2012-11-23 03:26:09 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-23 03:26:09 +0000 |
| commit | 9fb62a5ff1f360027031ed8bb0625b1dc86c288b (patch) | |
| tree | 4c5e1ecef851b9ab1bed2b35e4d1a10b6a763ffe /components/libc/armlibc/SConscript | |
| parent | 0cdbd69d56a6e105aef609872d5c932ad1f22afd (diff) | |
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
Diffstat (limited to 'components/libc/armlibc/SConscript')
| -rw-r--r-- | components/libc/armlibc/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/components/libc/armlibc/SConscript b/components/libc/armlibc/SConscript new file mode 100644 index 0000000000..11aba6b4f8 --- /dev/null +++ b/components/libc/armlibc/SConscript @@ -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') |
