From fac664f755d77b3e601e027a05d373fd717d905d Mon Sep 17 00:00:00 2001 From: duplo Date: Fri, 22 Jan 2010 15:23:32 +0000 Subject: [PATCH] Fix bug related to conditional-dependency files. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3164 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index ce526f01..004e67bf 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -307,8 +307,7 @@ def csrcGenerator(project_info): for file in information["hw"]: if file.endswith(".c"): module_files |= set([hwdir + "/" + os.path.basename(file)]) - for file_dependency in information["depends"]: - if file_dependency in files: + for file_dependency in information["depends"] + tuple(files.keys()): dependencyCFiles, dependencySFiles = findModuleFiles(file_dependency, project_info) dependency_files |= set(dependencyCFiles) asm_files |= set(dependencySFiles) -- 2.25.1