diff options
| author | [email protected] <[email protected]> | 2012-11-22 03:39:22 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-22 03:39:22 +0000 |
| commit | 74bf69110ea5250a6ba795ab68ee067f19235150 (patch) | |
| tree | e658bc4819565caeff06ee6e91f9f731b5e50c0c /components/libc/armlibc/Sconscript | |
| parent | 3968445d4a1ceece9cce84bd18ba56eeeb166a90 (diff) | |
add support of arm standard c library, support using armcc to compile lua
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2429 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') |
