diff options
| author | Meco Man <[email protected]> | 2021-02-23 03:21:16 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-23 03:21:16 +0800 |
| commit | b2d3317c6a7954423167316436c949fbcb1ce61d (patch) | |
| tree | b421a707a6c838e4418cfb9e32ae1aca704ce8f1 /components/libc/compilers/common/SConscript | |
| parent | c21f018b4a6ea88e1cbec86514056629a25ccb67 (diff) | |
remove minilibc
Diffstat (limited to 'components/libc/compilers/common/SConscript')
| -rw-r--r-- | components/libc/compilers/common/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/common/SConscript b/components/libc/compilers/common/SConscript index ecdee2637e..319e1a3555 100644 --- a/components/libc/compilers/common/SConscript +++ b/components/libc/compilers/common/SConscript @@ -10,7 +10,7 @@ CPPPATH = [cwd] if GetDepend('RT_USING_LIBC'): src += Glob('*.c') else: - if GetDepend('RT_LIBC_USING_TIME') and not GetDepend('RT_USING_MINILIBC'): + if GetDepend('RT_LIBC_USING_TIME'): src += ['time.c'] if GetDepend('RT_USING_POSIX') == False: @@ -21,7 +21,7 @@ if rtconfig.CROSS_TOOL == 'keil': else: CPPDEFINES = [] -if not GetDepend('RT_USING_MINILIBC') and (GetDepend('RT_USING_LIBC') or GetDepend('RT_LIBC_USING_TIME')): +if GetDepend('RT_USING_LIBC') or GetDepend('RT_LIBC_USING_TIME'): group = DefineGroup('libc', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) Return('group') |
