4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-03-04 05:25:48 +08:00

Merge pull request #1467 from heyuanjie87/master

修正无法生成cbp的问题
This commit is contained in:
Bernard Xiong 2018-05-24 19:05:38 +08:00 committed by GitHub
commit b465209164
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,8 @@ def CBProject(target, script, program):
for macro in building.Env.get('CPPDEFINES', []): for macro in building.Env.get('CPPDEFINES', []):
Add = SubElement(elem, 'Add') Add = SubElement(elem, 'Add')
Add.set('option', "-D"+macro) for d in macro:
Add.set('option', "-D"+d)
# write link flags # write link flags
''' '''