mirror of
https://git.sr.ht/~kivikakk/niar
synced 2024-12-22 23:22:24 +00:00
build: fix comments.
This commit is contained in:
parent
445d0ed0c1
commit
954de5e69d
|
@ -75,13 +75,12 @@ def main(np: Project, args):
|
||||||
nonlocal products
|
nonlocal products
|
||||||
products = plan.execute_local(f"build/{subdir}")
|
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 ...
|
# 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"]
|
deps = [f"{np.name}.il", f"{np.name}.ys"]
|
||||||
cr.add_process(execute_build,
|
cr.add_process(execute_build,
|
||||||
infs=[{np.path.build(subdir, fn): plan.files[fn] for fn in deps}],
|
infs=[{np.path.build(subdir, fn): plan.files[fn] for fn in deps}],
|
||||||
outf=np.path.build(subdir, np.name))
|
outf=np.path.build(subdir, np.name))
|
||||||
|
# ^-- The outf doesn't exist here; it's only needed/used as basis for the digest name.
|
||||||
|
|
||||||
cr.run()
|
cr.run()
|
||||||
if products is None:
|
if products is None:
|
||||||
|
|
Loading…
Reference in a new issue