diff options
| author | mysterywolf <[email protected]> | 2020-09-05 15:42:03 +0800 |
|---|---|---|
| committer | mysterywolf <[email protected]> | 2020-09-05 15:42:03 +0800 |
| commit | a41ebbb69778af8d160fe9207d6d353dc9c141d1 (patch) | |
| tree | 1082ec186edced7f128ef119d4facc5376e5328b /components/libc/getline/SConscript | |
| parent | d890d555a7994512866f16bde3e8f942051ece89 (diff) | |
add posix functions getline/getdelim
Diffstat (limited to 'components/libc/getline/SConscript')
| -rw-r--r-- | components/libc/getline/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
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') |
