From a41ebbb69778af8d160fe9207d6d353dc9c141d1 Mon Sep 17 00:00:00 2001 From: mysterywolf <920369182@qq.com> Date: Sat, 5 Sep 2020 15:42:03 +0800 Subject: add posix functions getline/getdelim --- components/libc/getline/SConscript | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 components/libc/getline/SConscript (limited to 'components/libc/getline/SConscript') diff --git a/components/libc/getline/SConscript b/components/libc/getline/SConscript new file mode 100644 index 0000000000..7bede9f31b --- /dev/null +++ b/components/libc/getline/SConscript @@ -0,0 +1,13 @@ +# RT-Thread building script for component + +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') + Glob('*.cpp') +CPPPATH = [cwd] + +group = DefineGroup('libc', src, + depend = ['RT_USING_LIBC', 'RT_USING_POSIX'], + CPPPATH = CPPPATH) + +Return('group') -- cgit v1.3.1