fix the output message.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1606 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
f1e3700a93
commit
c3854e20bb
|
@ -569,7 +569,7 @@ def EndBuilding(target):
|
||||||
if GetOption('target') == 'mdk':
|
if GetOption('target') == 'mdk':
|
||||||
template = os.path.isfile('template.Uv2')
|
template = os.path.isfile('template.Uv2')
|
||||||
if rtconfig.CROSS_TOOL != 'keil':
|
if rtconfig.CROSS_TOOL != 'keil':
|
||||||
print 'Please use Keil MDK compiler in rtconfig.h'
|
print 'Please use Keil MDK compiler in rtconfig.py'
|
||||||
return
|
return
|
||||||
|
|
||||||
if template:
|
if template:
|
||||||
|
@ -583,12 +583,12 @@ def EndBuilding(target):
|
||||||
|
|
||||||
if GetOption('target') == 'mdk4':
|
if GetOption('target') == 'mdk4':
|
||||||
if rtconfig.CROSS_TOOL != 'keil':
|
if rtconfig.CROSS_TOOL != 'keil':
|
||||||
print 'Please use Keil MDK compiler in rtconfig.h'
|
print 'Please use Keil MDK compiler in rtconfig.py'
|
||||||
return
|
return
|
||||||
MDK4Project('project.uvproj', Projects)
|
MDK4Project('project.uvproj', Projects)
|
||||||
|
|
||||||
if GetOption('target') == 'iar':
|
if GetOption('target') == 'iar':
|
||||||
if rtconfig.CROSS_TOOL != 'iar':
|
if rtconfig.CROSS_TOOL != 'iar':
|
||||||
print 'Please use IAR compiler in rtconfig.h'
|
print 'Please use IAR compiler in rtconfig.py'
|
||||||
return
|
return
|
||||||
IARProject('project.ewp', Projects)
|
IARProject('project.ewp', Projects)
|
||||||
|
|
Loading…
Reference in New Issue