summaryrefslogtreecommitdiff
path: root/tools/building.py
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-01-31 01:41:14 +0000
committer[email protected] <[email protected]>2012-01-31 01:41:14 +0000
commite1b5d48c9ba74686ddaed2fb6ada32e2f14077c6 (patch)
treede575203908422f74823f753ef35138af668df4b /tools/building.py
parent4f72d1cba1de7007b930729a49e31e89e5f83fc9 (diff)
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
Diffstat (limited to 'tools/building.py')
-rw-r--r--tools/building.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/building.py b/tools/building.py
index ed278b83ba..c06159be37 100644
--- a/tools/building.py
+++ b/tools/building.py
@@ -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']