[gui]修改 SConscript 文件。 RT_USING_RTGUI -> RT_USING_GUIENGINE
This commit is contained in:
parent
633507228a
commit
a8e3f14653
|
@ -9,8 +9,8 @@ lodepng.c
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
if rtconfig.ARCH == 'sim':
|
if rtconfig.ARCH == 'sim':
|
||||||
group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI', 'RTGUI_IMAGE_LODEPNG'], CPPPATH = CPPPATH)
|
group = DefineGroup('RTGUI', src, depend = ['RT_USING_GUIENGINE', 'RTGUI_IMAGE_LODEPNG'], CPPPATH = CPPPATH)
|
||||||
else:
|
else:
|
||||||
group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI', 'RTGUI_IMAGE_LODEPNG', 'RT_USING_LIBC'], CPPPATH = CPPPATH)
|
group = DefineGroup('RTGUI', src, depend = ['RT_USING_GUIENGINE', 'RTGUI_IMAGE_LODEPNG', 'RT_USING_LIBC'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
|
@ -8,7 +8,7 @@ tjpgd.c
|
||||||
|
|
||||||
CPPPATH = [RTT_ROOT + '/components/external/tjpgd1a']
|
CPPPATH = [RTT_ROOT + '/components/external/tjpgd1a']
|
||||||
|
|
||||||
group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI', 'RTGUI_IMAGE_TJPGD'], CPPPATH = CPPPATH)
|
group = DefineGroup('RTGUI', src, depend = ['RT_USING_GUIENGINE', 'RTGUI_IMAGE_TJPGD'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue