[libc] disable minilibc under simulator
This commit is contained in:
parent
7ea1d0c672
commit
b4831fbde4
@ -8,7 +8,7 @@ group = []
|
|||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
CPPDEFINES = ['RT_USING_MINILIBC']
|
CPPDEFINES = ['RT_USING_MINILIBC']
|
||||||
|
|
||||||
if rtconfig.PLATFORM == 'gcc' and not GetDepend('RT_USING_LIBC'):
|
if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim' and not GetDepend('RT_USING_LIBC'):
|
||||||
group = DefineGroup('libc', src, depend = [''],
|
group = DefineGroup('libc', src, depend = [''],
|
||||||
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user