Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mpact/sim/decoder/mpact_sim_isa.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def _make_isa_tool_invocation_command(num_srcs, prefix, isa_name):
# Add the sources that are not in includes.
for i in range(0, num_srcs):
cmd += "$${ARR[" + str(i) + "]} "
cmd += "--prefix " + prefix + " --output_dir $(@D)"
cmd += "--prefix " + prefix + " --output_dir $(@D) --include $$(dirname $${ARR[0]})"
if isa_name != "":
cmd += " --isa_name " + isa_name

Expand All @@ -288,7 +288,7 @@ def _make_bin_tool_invocation_command(num_srcs, prefix, decoder_name):
# Add the sources that are not in includes.
for i in range(0, num_srcs):
cmd += "$${ARR[" + str(i) + "]} "
cmd += " --prefix " + prefix + " --output_dir $(@D)"
cmd += " --prefix " + prefix + " --output_dir $(@D) --include $$(dirname $${ARR[0]})"
if decoder_name != "":
cmd += " --decoder_name " + decoder_name
return cmd
Expand Down