fixed newlib building script error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1748 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2011-10-10 12:45:38 +00:00
parent 7af3914228
commit 50b5e18dce
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
Import('rtconfig')
from building import *
if rtconfig.CROSS_TOOL != 'gcc':
if GetDepend('RT_USING_NEWLIB') and rtconfig.CROSS_TOOL != 'gcc':
print '================ERROR============================'
print 'Please use GNU GCC compiler if using newlib'
print '================================================='