4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 01:23:30 +08:00
Man, Jianting (Meco) 31c3214faf
[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 <920369182@qq.com>

* [libc][newlib]调整文件夹结构
2022-01-24 09:16:57 +08:00

13 lines
267 B
Python

from building import *
Import('rtconfig')
src = Glob('*.c') + Glob('arch/*.c')
cwd = GetCurrentDir()
group = []
CPPPATH = [cwd]
if rtconfig.PLATFORM == 'gcc':
group = DefineGroup('POSIX', src, depend = ['RT_USING_MODULE'], CPPPATH = CPPPATH)
Return('group')