diff options
| author | Bernard Xiong <[email protected]> | 2015-01-31 11:13:50 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-01-31 11:13:50 +0800 |
| commit | 918b790882577872b77dbb5a0693b19a158f3ae4 (patch) | |
| tree | d7be0dcd34af7d0f4289d8d13131a4e7d62016fc /components/libc/dlib/SConscript | |
| parent | a1252f67f5dd3166cea9af6396cc506282ac347b (diff) | |
[libc] Add IAR dlib porting
Diffstat (limited to 'components/libc/dlib/SConscript')
| -rw-r--r-- | components/libc/dlib/SConscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/libc/dlib/SConscript b/components/libc/dlib/SConscript new file mode 100644 index 0000000000..f0e53a9f3e --- /dev/null +++ b/components/libc/dlib/SConscript @@ -0,0 +1,15 @@ +from building import * +import rtconfig + +src = Glob('*.c') +cwd = GetCurrentDir() +group = [] + +CPPPATH = [cwd] +CPPDEFINES = ['RT_USING_DLIBC'] + +if rtconfig.PLATFORM == 'iar': + group = DefineGroup('dlib', src, depend = ['RT_USING_LIBC'], + CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS) + +Return('group') |
