summaryrefslogtreecommitdiff
path: root/components/libc/minilibc/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/minilibc/SConscript')
-rw-r--r--components/libc/minilibc/SConscript12
1 files changed, 5 insertions, 7 deletions
diff --git a/components/libc/minilibc/SConscript b/components/libc/minilibc/SConscript
index 70122c43df..8eb7e0b58e 100644
--- a/components/libc/minilibc/SConscript
+++ b/components/libc/minilibc/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/minilibc']
+group = DefineGroup('minilibc', src, depend = ['RT_USING_MINILIBC'], CPPPATH = CPPPATH)
-env.Append(CPPPATH = RTT_ROOT + '/components/libc/minilibc', CPPDEFINES='RT_USING_MINILIBC')
-
-obj = env.Object(src_local)
-Return('obj')
+Return('group')