diff options
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') |
