1
0
Fork 0
mirror of https://git.sr.ht/~kivikakk/niar synced 2024-12-22 23:42:23 +00:00

build: include externals in deps.

This commit is contained in:
Asherah Connor 2024-08-24 17:22:24 +03:00
parent 2e4b50cce1
commit 594d92f3fd

View file

@ -79,7 +79,7 @@ def main(np: Project, args):
products = plan.execute_local(f"build/{subdir}") products = plan.execute_local(f"build/{subdir}")
# 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"] + np.externals
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))