Skip to content

Commit

Permalink
build: fix comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed Jul 4, 2024
1 parent 445d0ed commit 954de5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/niar/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,12 @@ def execute_build():
nonlocal products
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] for fn in deps}],
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()
if products is None:
Expand Down

0 comments on commit 954de5e

Please sign in to comment.