1
0

Support make-3.82 and newer

make changed its priorties for resolving implicit rules, which causes different
behavior when running "make run-bmark-tests".  This patch changes the hex file
rules to ensure they match between the two versions of make.

I've tried this with both make-3.81 and make-4.1, and they both work for me.
This commit is contained in:
Palmer Dabbelt 2016-01-28 12:15:14 -08:00
parent 7209c13338
commit 1149a412cc

View File

@ -42,7 +42,7 @@ $(sim_dir)/libdramsim.a: $(DRAMSIM_OBJS)
%.hex:
$(MAKE) -C $(dir $@) $(notdir $@)
%.riscv.hex: %
%.riscv.hex: %.riscv
$(MAKE) -C $(dir $@) $(notdir $@)
#---------------------------------------------------------------------