fix bugs in building.py that is when DefineGroup method's 3rd arges "CPPDEFINES" is not null, then "scons --target=mdk -s" will get errors.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1930 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
goprife@gmail.com 2012-01-31 01:41:14 +00:00
parent 4f72d1cba1
commit e1b5d48c9b
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ def MDK4Project(target, script):
# get each group's definitions # get each group's definitions
if group.has_key('CPPDEFINES') and group['CPPDEFINES']: if group.has_key('CPPDEFINES') and group['CPPDEFINES']:
if CPPDEFINES: if CPPDEFINES:
CPPDEFINES += ';' + group['CPPDEFINES'] CPPDEFINES += group['CPPDEFINES']
else: else:
CPPDEFINES += group['CPPDEFINES'] CPPDEFINES += group['CPPDEFINES']