projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct the bug related to the duplicate inclusion in makefile generation
[bertos.git]
/
wizard
/
bertos_utils.py
diff --git
a/wizard/bertos_utils.py
b/wizard/bertos_utils.py
index 4a17beb91eb209ab914dab8e96356b4a395adb11..ceb82c718eac5fa1887fd0b96438a1c9d8973b08 100644
(file)
--- 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 = {}
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():
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"])
if information["enabled"]:
if "constants" in information:
constants.update(information["constants"])