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:
parent
401ed63b41
commit
8c79c18ce0
5
dist/tools/kconfiglib/genconfig.py
vendored
5
dist/tools/kconfiglib/genconfig.py
vendored
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user