From: duplo Date: Thu, 26 Mar 2009 09:56:01 +0000 (+0000) Subject: Correct the bug related to the duplicate inclusion in makefile generation X-Git-Tag: 2.1.0~246 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=19986b952a6ef6789dc1fbc32c7307713e2322ea;p=bertos.git Correct the bug related to the duplicate inclusion in makefile generation git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2436 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 4a17beb9..ceb82c71 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -121,11 +121,11 @@ def csrcGenerator(project_info): pcsrc = [] ## constants to be included at the beginning of the makefile constants = {} - module_files = set([]) - dependency_files = set([]) - ## assembly sources - asm_files = set([]) for module, information in modules.items(): + module_files = set([]) + dependency_files = set([]) + ## assembly sources + asm_files = set([]) if information["enabled"]: if "constants" in information: constants.update(information["constants"])