- pcsrc.append(path + "/" + filename)
- for filename, path in findDefinitions(module + "_" + projectInfo.info("CPU_INFOS")["TOOLCHAIN"] + ".c", projectInfo):
- path = path.replace(projectInfo.info("SOURCES_PATH"), projectInfo.info("PROJECT_PATH"))
- if not harvard or "harvard" not in information or information["harvard"] == "both":
- csrc.append(path + "/" + filename)
- if harvard and "harvard" in information:
- pcsrc.append(path + "/" + filename)
- for tag in projectInfo.info("CPU_INFOS")["CPU_TAGS"]:
- for filename, path in findDefinitions(module + "_" + tag + ".c", projectInfo):
- path = path.replace(projectInfo.info("SOURCES_PATH"), projectInfo.info("PROJECT_PATH"))
- if not harvard or "harvard" not in information or information["harvard"] == "both":
- csrc.append(path + "/" + filename)
- if harvard and "harvard" in information:
- pcsrc.append(path + "/" + filename)