X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos_utils.py;fp=wizard%2Fbertos_utils.py;h=522e651e2c4359d02f3c35ce752b0822acba666e;hb=ee5a9b47c8ef2db3110ef29a9e1ec9a7170a838f;hp=204c4fe4ea1e602f9f61ecbaf5756451dee36b88;hpb=f577109a57297270df091cef9c2565a74d0a4b29;p=bertos.git diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 204c4fe4..522e651e 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -283,7 +283,7 @@ def csrcGenerator(project_info): cxxsrc = " \\\n\t".join(cxxsrc) + " \\" asrc = set(asrc) asrc = " \\\n\t".join(asrc) + " \\" - constants = "\n".join([os.path.basename(project_info.info("PROJECT_PATH")) + "_" + key + " = " + unicode(value) for key, value in constants.items()]) + constants = "\n".join([project_info.info("PROJECT_NAME") + "_" + key + " = " + unicode(value) for key, value in constants.items()]) return csrc, pcsrc, cppasrc, cxxsrc, asrc, constants def findModuleFiles(module, project_info):