From 918b790882577872b77dbb5a0693b19a158f3ae4 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sat, 31 Jan 2015 11:13:50 +0800 Subject: [libc] Add IAR dlib porting --- components/libc/dlib/SConscript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 components/libc/dlib/SConscript (limited to 'components/libc/dlib/SConscript') 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') -- cgit v1.3.1