mk_data["$cpuname"] = project_info.info("CPU_INFOS")["CORE_CPU"]
mk_data["$cflags"] = " ".join(project_info.info("CPU_INFOS")["C_FLAGS"])
mk_data["$ldflags"] = " ".join(project_info.info("CPU_INFOS")["LD_FLAGS"])
mk_data["$cpuname"] = project_info.info("CPU_INFOS")["CORE_CPU"]
mk_data["$cflags"] = " ".join(project_info.info("CPU_INFOS")["C_FLAGS"])
mk_data["$ldflags"] = " ".join(project_info.info("CPU_INFOS")["LD_FLAGS"])
- mk_data["$csrc"], mk_data["$pcsrc"], mk_data["$constants"] = csrcGenerator(project_info)
+ mk_data["$csrc"], mk_data["$pcsrc"], mk_data["$asrc"], mk_data["$constants"] = csrcGenerator(project_info)
mk_data["$prefix"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[0]
mk_data["$suffix"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[1]
mk_data["$cross"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[0]
mk_data["$prefix"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[0]
mk_data["$suffix"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[1]
mk_data["$cross"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[0]
## constants to be included at the beginning of the makefile
constants = {}
for module, information in modules.items():
## constants to be included at the beginning of the makefile
constants = {}
for module, information in modules.items():
asm_files |= set(dependencySFiles)
for file in module_files:
if not harvard or "harvard" not in information or information["harvard"] == "both":
asm_files |= set(dependencySFiles)
for file in module_files:
if not harvard or "harvard" not in information or information["harvard"] == "both":
def findModuleFiles(module, project_info):
## Find the files related to the selected module
def findModuleFiles(module, project_info):
## Find the files related to the selected module
except ParseError, err:
raise DefineException.ModuleDefineException(path, err.line_number, err.line)
for module, information in module_dict.items():
except ParseError, err:
raise DefineException.ModuleDefineException(path, err.line_number, err.line)
for module, information in module_dict.items():
information["category"] = os.path.basename(path)
if "configuration" in information.keys() and len(information["configuration"]):
configuration = module_dict[module]["configuration"]
information["category"] = os.path.basename(path)
if "configuration" in information.keys() and len(information["configuration"]):
configuration = module_dict[module]["configuration"]