summaryrefslogtreecommitdiff
path: root/components/libc/posix/getline/SConscript
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-19 07:46:03 +0800
committerGitHub <[email protected]>2021-10-19 07:46:03 +0800
commitbcdd4a62560be546c1b82fa7fa8d6b6507f339e9 (patch)
tree6869efd76d185b876e5ef812f48a465738fccdd8 /components/libc/posix/getline/SConscript
parenta5c3d8514b461b01d6b9458e49ebac82d3afc4cf (diff)
parent3394baedd10b8181725491b0cc6c367c1b1010e4 (diff)
Merge pull request #5205 from mysterywolf/libc
Diffstat (limited to 'components/libc/posix/getline/SConscript')
-rw-r--r--components/libc/posix/getline/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/libc/posix/getline/SConscript b/components/libc/posix/getline/SConscript
new file mode 100644
index 0000000000..fa4c8618c1
--- /dev/null
+++ b/components/libc/posix/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')