summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-10-28 02:48:51 -0400
committerMeco Man <[email protected]>2021-10-28 02:54:45 -0400
commit7b43cf9793025b0bbb9b2c3bbeedb788edb04f7c (patch)
tree8f2b2eddd393484a6e4f95b2330147414f9d2b9a /components/libc/compilers/common/SConscript
parentda1cc99fe2b1c07698e24556ef574c5ded521771 (diff)
[libc][posix] move libc.c/.h to posix folder
Diffstat (limited to 'components/libc/compilers/common/SConscript')
-rw-r--r--components/libc/compilers/common/SConscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/libc/compilers/common/SConscript b/components/libc/compilers/common/SConscript
index 1c1d645564..bd66b70c7e 100644
--- a/components/libc/compilers/common/SConscript
+++ b/components/libc/compilers/common/SConscript
@@ -8,14 +8,14 @@ group = []
CPPPATH = [cwd]
CPPDEFINES = []
+if rtconfig.CROSS_TOOL == 'keil':
+ CPPDEFINES += ['__CLK_TCK=RT_TICK_PER_SECOND']
+
if GetDepend('RT_USING_LIBC'):
src += Glob('*.c')
elif GetDepend('RT_LIBC_USING_TIME'):
src += ['time.c']
-if rtconfig.CROSS_TOOL == 'keil':
- CPPDEFINES += ['__CLK_TCK=RT_TICK_PER_SECOND']
-
group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
list = os.listdir(cwd)