提交 e1b5d48c 编写于 作者: G goprife@gmail.com

fix bugs in building.py that is when DefineGroup method's 3rd arges...

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
上级 4f72d1cb
......@@ -261,7 +261,7 @@ def MDK4Project(target, script):
# get each group's definitions
if group.has_key('CPPDEFINES') and group['CPPDEFINES']:
if CPPDEFINES:
CPPDEFINES += ';' + group['CPPDEFINES']
CPPDEFINES += group['CPPDEFINES']
else:
CPPDEFINES += group['CPPDEFINES']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册