summaryrefslogtreecommitdiff
path: root/components/lwp/SConscript
diff options
context:
space:
mode:
authorShell <[email protected]>2024-03-28 23:42:56 +0800
committerGitHub <[email protected]>2024-03-28 23:42:56 +0800
commit83e95bdff4c48c661b50e1eec56d5fd293b28fbb (patch)
tree9e0c2065950f0804e5009da71c8e0f590224cade /components/lwp/SConscript
parent40e26f4909fa61ada775ba86b44d8300aaf5d250 (diff)
sync smart & dfs (#8672)
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
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')