mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(orfs): allow overriding PDN config
This commit is contained in:
@@ -553,6 +553,8 @@ class Project:
|
|||||||
|
|
||||||
config = read_config("src/config", ("json", "tcl"))
|
config = read_config("src/config", ("json", "tcl"))
|
||||||
user_config = read_config("src/user_config", ("json",))
|
user_config = read_config("src/user_config", ("json",))
|
||||||
|
if self.args.orfs and "PDN_TCL" in config:
|
||||||
|
del user_config["PDN_TCL"]
|
||||||
config.update(user_config)
|
config.update(user_config)
|
||||||
if self.args.orfs:
|
if self.args.orfs:
|
||||||
write_config(config, "src/config_merged", ("mk",))
|
write_config(config, "src/config_merged", ("mk",))
|
||||||
|
|||||||
Reference in New Issue
Block a user