summaryrefslogtreecommitdiff
path: root/components/libc/posix/src/SConscript
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-28 20:43:14 +0800
committerGitHub <[email protected]>2021-10-28 20:43:14 +0800
commit51d5930aa32f57af7234366804c13b580d0b8964 (patch)
tree56ed3a97f40051bf1b77a249f869db0acb29c92c /components/libc/posix/src/SConscript
parent7bb5826c1f5dba0fe4fa09169a03abd5718fb8ec (diff)
parent7b43cf9793025b0bbb9b2c3bbeedb788edb04f7c (diff)
Merge pull request #5244 from mysterywolf/libccc
[libc][posix] move libc.c/.h to posix folder
Diffstat (limited to 'components/libc/posix/src/SConscript')
-rw-r--r--components/libc/posix/src/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/libc/posix/src/SConscript b/components/libc/posix/src/SConscript
index 5640181ac5..8712d671c0 100644
--- a/components/libc/posix/src/SConscript
+++ b/components/libc/posix/src/SConscript
@@ -2,9 +2,10 @@
from building import *
-cwd = GetCurrentDir()
src = Glob('*.c')
+cwd = GetCurrentDir()
+CPPPATH = [cwd]
-group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX'])
+group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX'], CPPPATH = CPPPATH)
Return('group')