diff options
| author | Bernard Xiong <[email protected]> | 2021-02-18 00:06:18 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-18 00:06:18 +0800 |
| commit | 7ed6644db90681081d259159d82793e0662bc556 (patch) | |
| tree | 0373f33cb79d345160586eeef7af310d8b7f5802 /components/libc/compilers/common/SConscript | |
| parent | 9bfab03b742f2cb6cb53ba350d0d760c5691f9fb (diff) | |
| parent | 263d856fa4025a727c0556f7fc286f79450d9932 (diff) | |
Merge pull request #4344 from mysterywolf/exit_1
[libc][common] 精简exit和abort函数
Diffstat (limited to 'components/libc/compilers/common/SConscript')
| -rw-r--r-- | components/libc/compilers/common/SConscript | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/libc/compilers/common/SConscript b/components/libc/compilers/common/SConscript index 8877f07f24..ecdee2637e 100644 --- a/components/libc/compilers/common/SConscript +++ b/components/libc/compilers/common/SConscript @@ -8,13 +8,13 @@ group = [] CPPPATH = [cwd] if GetDepend('RT_USING_LIBC'): - src += Glob('*.c') + src += Glob('*.c') else: - if GetDepend('RT_LIBC_USING_TIME') and not GetDepend('RT_USING_MINILIBC'): - src += ['time.c'] + if GetDepend('RT_LIBC_USING_TIME') and not GetDepend('RT_USING_MINILIBC'): + src += ['time.c'] if GetDepend('RT_USING_POSIX') == False: - SrcRemove(src, ['unistd.c']) + SrcRemove(src, ['unistd.c']) if rtconfig.CROSS_TOOL == 'keil': CPPDEFINES = ['__CLK_TCK=RT_TICK_PER_SECOND'] |
