summaryrefslogtreecommitdiff
path: root/components/lwp/syscall/SConscript
diff options
context:
space:
mode:
authorbernard <[email protected]>2026-10-18 19:33:57 +0800
committerRbb666 <[email protected]>2026-10-29 14:50:07 +0800
commit68757abdcc34e312c6819f700e10e0cde54b4dcc (patch)
treeb85078c8f9e6aa9eee4a6e039194dcef1c793a09 /components/lwp/syscall/SConscript
parentb4c6828cf4318fd22cee9325efc4ddfac28a7458 (diff)
[components][lwp] split syscall implementation by subsystem
- move syscall implementations from lwp_syscall.c into syscall/ - group memory, file, socket, process, IPC and time syscalls - add a shared syscall dispatch table and internal header - register the new directory from the LWP build script - no functional change
Diffstat (limited to 'components/lwp/syscall/SConscript')
-rw-r--r--components/lwp/syscall/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/lwp/syscall/SConscript b/components/lwp/syscall/SConscript
new file mode 100644
index 0000000000..7970a7cc66
--- /dev/null
+++ b/components/lwp/syscall/SConscript
@@ -0,0 +1,11 @@
+# RT-Thread building script for component
+
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c') + Glob('*.cpp') + Glob('*.cxx') + Glob('*.cc')
+CPPPATH = [cwd]
+
+group = DefineGroup('lwProcess', src, depend = ['RT_USING_SMART'], CPPPATH = CPPPATH)
+
+Return('group')