diff options
| author | Arda <[email protected]> | 2015-03-10 12:01:25 +0800 |
|---|---|---|
| committer | Arda <[email protected]> | 2015-03-10 12:01:25 +0800 |
| commit | 4a9c3fae2900da71cdf026063679d2c25f266fd7 (patch) | |
| tree | 2fba8aec09a671cc36d281365351003a988eb57d /components/libc/dlib/SConscript | |
| parent | 5fe489a3949cdbb947d3c719a7ef958a37e8d826 (diff) | |
| parent | 89ceb7dc27895225bc221d22c035d5cc8802a256 (diff) | |
Merge pull request #3 from RT-Thread/master
sync with official source
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..a6b7554a07 --- /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) + +Return('group') |
