mirror of
https://git.sr.ht/~kivikakk/niar
synced 2024-12-22 13:22:25 +00:00
build: synth depends on .ys as well.
This commit is contained in:
parent
289c0e96f9
commit
3d32cf809e
|
@ -75,8 +75,11 @@ def main(np: Project, args):
|
|||
products = plan.execute_local(f"build/{subdir}")
|
||||
|
||||
# The outf doesn't exist here; it's only used for the digest name basis.
|
||||
|
||||
# This is specific to toolchains that use Yosys, but I'm unlikely to use anything else ...
|
||||
deps = [f"{np.name}.il", f"{np.name}.ys"]
|
||||
cr.add_process(execute_build,
|
||||
infs=[{np.path.build(subdir, fn): plan.files[fn]}],
|
||||
infs=[{np.path.build(subdir, fn): plan.files[fn] for fn in deps}],
|
||||
outf=np.path.build(subdir, np.name))
|
||||
|
||||
cr.run()
|
||||
|
|
Loading…
Reference in a new issue