Skip to content

Commit

Permalink
target: Fix bootrom Make targets
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 2, 2024
1 parent b0d5d89 commit 19826ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions target/sim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ clean-bootrom:
rm -rf $(BOOTROM_TARGETS)

$(TARGET_TEST_DIR)/bootrom.elf: $(TARGET_TEST_DIR)/bootrom.S $(TARGET_TEST_DIR)/bootrom.ld
riscv64-unknown-elf-gcc -mabi=lp64d -march=rv64imafd -static -nostartfiles -T$(TARGET_TEST_DIR)/bootrom.ld $< -o $(TARGET_TEST_DIR)/bootrom.elf
$(RISCV_GCC_BINROOT)/riscv64-unknown-elf-gcc -mabi=lp64d -march=rv64imafd -static -nostartfiles -T$(TARGET_TEST_DIR)/bootrom.ld $< -o $(TARGET_TEST_DIR)/bootrom.elf
$(TARGET_TEST_DIR)/bootrom.dump: $(TARGET_TEST_DIR)/bootrom.elf
riscv64-unknown-elf-objdump -D $< > $@
$(RISCV_GCC_BINROOT)/riscv64-unknown-elf-objdump -D $< > $@
$(TARGET_TEST_DIR)/bootrom.bin: $(TARGET_TEST_DIR)/bootrom.elf
riscv64-unknown-elf-objcopy -O binary $< $@
$(RISCV_GCC_BINROOT)/riscv64-unknown-elf-objcopy -O binary $< $@

###############
# RTL sources #
Expand Down

0 comments on commit 19826ac

Please sign in to comment.