Skip to content

Commit

Permalink
Fix replace-rtl ordering problem (#1444)
Browse files Browse the repository at this point in the history
Not all sub-rules build the directory and replace-rtl failed if trying to copy the driver first.
  • Loading branch information
nandor committed Feb 28, 2023
1 parent 0755382 commit e0569ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sim/make/fpga.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ $(fpga_driver_dir)/$(BASE_FILE_NAME)%: $(simulator_verilog) $(fpga_work_dir)/sta
cp -f $(GENERATED_DIR)/$(@F) $@

$(fpga_driver_dir)/$(DESIGN)-$(PLATFORM): $($(PLATFORM))
mkdir -p $(@D)
cp -f $< $@

# Goes as far as setting up the build directory without running the cad job
Expand Down

0 comments on commit e0569ff

Please sign in to comment.