Skip to content

Commit 1383a97

Browse files
committed
[libc] Add the first version for AIO.
1 parent 4bc082e commit 1383a97

File tree

4 files changed

+550
-0
lines changed

4 files changed

+550
-0
lines changed

components/libc/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ if RT_USING_LIBC && RT_USING_DFS
2222
config RT_USING_POSIX_TERMIOS
2323
bool "Enable termios feature"
2424
default n
25+
26+
config RT_USING_POSIX_AIO
27+
bool "Enable AIO"
28+
default n
2529
endif
2630
endif
2731

components/libc/aio/SConscript

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# RT-Thread building script for component
2+
3+
from building import *
4+
5+
cwd = GetCurrentDir()
6+
src = Glob('*.c') + Glob('*.cpp')
7+
CPPPATH = [cwd]
8+
9+
group = DefineGroup('aio', src, depend = ['RT_USING_POSIX', 'RT_USING_POSIX_AIO'], CPPPATH = CPPPATH)
10+
11+
Return('group')

0 commit comments

Comments
 (0)