From: duplo Date: Mon, 19 Apr 2010 13:17:30 +0000 (+0000) Subject: Remove unwanted code (that search for information into files found using the TOOLCHAI... X-Git-Tag: 2.5.0~448 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=5b29bce24f96abdf3660e4c719cbf1ce94cfb8c5;p=bertos.git Remove unwanted code (that search for information into files found using the TOOLCHAIN attribute of the CPU). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3460 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BProject.py b/wizard/BProject.py index 68469e58..7cc1da49 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -164,11 +164,6 @@ class BProject(object): list_info_dict.update(list_dict) except ParseError, err: raise DefineException.EnumDefineException(path, err.line_number, err.line) - # NOTE: These lines probably should be removed - for filename, path in self.findDefinitions("*_" + self.infos["CPU_INFOS"]["TOOLCHAIN"] + ".h"): - comment_list = getCommentList(open(path + "/" + filename, "r").read()) - list_info_dict.update(loadDefineLists(comment_list)) - # end of lines to be removed for tag in self.infos["CPU_INFOS"]["CPU_TAGS"]: for filename, path in self.findDefinitions("*_" + tag + ".h"): comment_list = getCommentList(open(path + "/" + filename, "r").read())