diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-01-23 20:16:57 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-24 09:16:57 +0800 |
| commit | 31c3214fafd059dfe7cd33aee1aa6c573437bed5 (patch) | |
| tree | 4216e6c26b043271f72473326f8c984f66f5fb7b /components/libc/posix/io/SConscript | |
| parent | e10173daff840ea8e58d20c59d0e8fb9517a3bae (diff) | |
[posix][io]整理posix/io文件夹 (#5539)
* [posix][io]整理posix/io文件夹
- 将select.c移入到poll文件夹
- 将libc.c移入到tty文件夹,isatty函数归并到libc.c中, termios并入tty文件夹中
- 整理Sconscript
Signed-off-by: Meco Man <[email protected]>
* [libc][newlib]调整文件夹结构
Diffstat (limited to 'components/libc/posix/io/SConscript')
| -rw-r--r-- | components/libc/posix/io/SConscript | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/components/libc/posix/io/SConscript b/components/libc/posix/io/SConscript index bb45211ec0..e016836a9d 100644 --- a/components/libc/posix/io/SConscript +++ b/components/libc/posix/io/SConscript @@ -3,24 +3,9 @@ import os from building import * -src = [] cwd = GetCurrentDir() -CPPPATH = [cwd] group = [] -flag = False - -if GetDepend('RT_USING_POSIX_STDIO'): - src += ['libc.c'] - flag = True - -if GetDepend('RT_USING_POSIX_SELECT'): - src += ['select.c'] - flag = True - -if flag == True: - group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH) - list = os.listdir(cwd) for d in list: path = os.path.join(cwd, d) |
