diff options
| author | Bernard Xiong <[email protected]> | 2015-01-31 22:11:44 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-01-31 22:11:44 +0800 |
| commit | 0f9139ecfc3fcc909130c73eb0e2bb9eff912ad3 (patch) | |
| tree | 27ccb23ace2bb9a6ba5cc893240a6456ea3e303a /components/libc/dlib/SConscript | |
| parent | 588682a1f520e3e781f8e237e39d51887b01d506 (diff) | |
| parent | ca18a17180528b5ed408a591bdd302f64940105b (diff) | |
Merge pull request #422 from BernardXiong/master
Add lwIP/NAT, DHCP server and dlib(LIBC of IAR)
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') |
