diff options
| author | Bernard Xiong <[email protected]> | 2015-01-31 12:58:24 +0000 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-01-31 12:58:24 +0000 |
| commit | 390973a755fbf0d1365a8a9940662cfeb1750f76 (patch) | |
| tree | e286866d8bf4f02513b650278afd4eebfc184154 /components/libc/dlib/SConscript | |
| parent | 92e0f0d452f42da86cfece29e93f7b7c400da1e5 (diff) | |
| parent | 622e6d8238489b04219af34e0377b050a17a4d4c (diff) | |
Merge remote-tracking branch 'china/master'
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') |
