diff options
| author | Bernard Xiong <[email protected]> | 2020-09-11 13:20:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-11 13:20:50 +0800 |
| commit | ac751db6703f8117c8f3db5b612536cddf59bdcc (patch) | |
| tree | 5d14525930868492bd142e9026a5e3c50fc42738 /components/libc/getline/SConscript | |
| parent | 36cb4349a61d768c5e2fad0798647dfb3e0b523e (diff) | |
| parent | b3ab8a99e10f68042a3f2cba11e130004aa124e4 (diff) | |
Merge pull request #3888 from mysterywolf/master
[add] [libc] libc新增getline/getdelim函数(posix.1-2008)
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..fa4c8618c1 --- /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','RT_USING_POSIX_GETLINE'], + CPPPATH = CPPPATH) + +Return('group') |
