diff options
Diffstat (limited to 'components/libc/newlib/SConscript')
| -rw-r--r-- | components/libc/newlib/SConscript | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/components/libc/newlib/SConscript b/components/libc/newlib/SConscript index 2de094db01..d8ce850d0f 100644 --- a/components/libc/newlib/SConscript +++ b/components/libc/newlib/SConscript @@ -1,10 +1,8 @@ -Import('env')
Import('RTT_ROOT')
+from building import *
-# The set of source files associated with this SConscript file.
-src_local = Glob('*.c')
+src = Glob('*.c')
+CPPPATH = [RTT_ROOT + '/components/libc/newlib']
+group = DefineGroup('newlib', src, depend = ['RT_USING_NEWLIB'], CPPPATH = CPPPATH)
-env.Append(CPPPATH = RTT_ROOT + '/components/libc/newlib')
-
-obj = env.Object(src_local)
-Return('obj')
+Return('group')
|
