Merge pull request #8 from akihikodaki:main PiperOrigin-RevId: 718094652 Change-Id: I8b6a719a9620893f82534c861a9784520f5ce53e
diff --git a/mpact/sim/decoder/mpact_sim_isa.bzl b/mpact/sim/decoder/mpact_sim_isa.bzl index b764d1b..5a86d18 100644 --- a/mpact/sim/decoder/mpact_sim_isa.bzl +++ b/mpact/sim/decoder/mpact_sim_isa.bzl
@@ -294,7 +294,7 @@ # 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 @@ -309,7 +309,7 @@ # 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