summaryrefslogtreecommitdiff
path: root/components/libc/termios/SConscript
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-10-15 22:41:59 +0800
committerbernard <[email protected]>2017-10-15 22:41:59 +0800
commit5c7b16d00bdb536a694e6e31a2e0a1c33cb9dcb9 (patch)
tree5da5e3404e1241b65e90089c4c370b40130df832 /components/libc/termios/SConscript
parentb27c7e482648535760e012cd6f1afef1d800e2d2 (diff)
[libc] Update libc.
1. Add POSIX termios implementation; 2. Add POSIX signals implementation; 3. Add stdio for each libc.
Diffstat (limited to 'components/libc/termios/SConscript')
-rw-r--r--components/libc/termios/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/libc/termios/SConscript b/components/libc/termios/SConscript
new file mode 100644
index 0000000000..ef05e688bb
--- /dev/null
+++ b/components/libc/termios/SConscript
@@ -0,0 +1,13 @@
+# RT-Thread building script for component
+
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c') + Glob('*.cpp')
+CPPPATH = [cwd]
+
+group = DefineGroup('libc', src,
+ depend = ['RT_USING_LIBC', 'RT_USING_POSIX_TERMIOS'],
+ CPPPATH = CPPPATH)
+
+Return('group')