summaryrefslogtreecommitdiff
path: root/components/lwp/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/lwp/SConscript')
-rw-r--r--components/lwp/SConscript11
1 files changed, 6 insertions, 5 deletions
diff --git a/components/lwp/SConscript b/components/lwp/SConscript
index 3c43dcd86e..5f4a618d48 100644
--- a/components/lwp/SConscript
+++ b/components/lwp/SConscript
@@ -22,11 +22,6 @@ if arch == 'risc-v':
if cpu in rv64:
cpu = 'rv64'
-if GetDepend('LWP_UNIX98_PTY'):
- # print("LWP_UNIX98_PTY")
- src += Glob('unix98pty/*.c')
- CPPPATH += ['unix98pty/']
-
if platform in platform_file.keys(): # support platforms
if arch in support_arch.keys() and cpu in support_arch[arch]:
asm_path = 'arch/' + arch + '/' + cpu + '/*_' + platform_file[platform]
@@ -40,6 +35,12 @@ if platform in platform_file.keys(): # support platforms
CPPPATH = [cwd]
CPPPATH += [cwd + '/arch/' + arch + '/' + cpu]
+# Terminal I/O Subsystem
+termios_path = ['./terminal/', './terminal/freebsd/']
+for item in termios_path:
+ src += Glob(item + '*.c')
+CPPPATH += ['./terminal/']
+
group = DefineGroup('lwP', src, depend = ['RT_USING_SMART'], CPPPATH = CPPPATH)
Return('group')