1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/genconfig: generate empty recipes in dependency file

This commit is contained in:
Leandro Lanzieri 2020-09-04 10:39:37 +02:00
parent 401ed63b41
commit 8c79c18ce0
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

View File

@ -159,8 +159,13 @@ only supported for backwards compatibility).
logging.debug("Kconfig dependencies written to '{}'".format(args.file_list))
with open(args.file_list, "w", encoding="utf-8") as f:
f.write("{}: \\\n".format(args.config_out))
# add dependencies
for path in kconf.kconfig_filenames:
f.write(" {} \\\n".format(os.path.abspath(path)))
# add empty recipes for dependencies
f.write("\n\n")
for path in kconf.kconfig_filenames:
f.write("{}:\n\n".format(os.path.abspath(path)))
if args.env_list is not None:
logging.debug("Kconfig environmental variables written to '{}'".format(args.env_list))