diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-06-27 22:18:24 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-06-27 22:18:24 +0200 |
commit | 7b17773bfcf0209c3f7f14b811fd9b402da3d893 (patch) | |
tree | fc7fce91fec712dc0ddacc2a8fef4b57fe32eff6 /Makefile | |
parent | dee66e136e9c24ad52684a72ee77762627b4eaa7 (diff) | |
download | picorv32-7b17773bfcf0209c3f7f14b811fd9b402da3d893.tar.gz picorv32-7b17773bfcf0209c3f7f14b811fd9b402da3d893.zip |
Added mul tests from riscv-tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -31,7 +31,7 @@ firmware/firmware.bin: firmware/firmware.elf chmod -x $@ firmware/firmware.elf: $(FIRMWARE_OBJS) $(TEST_OBJS) firmware/sections.lds - riscv64-unknown-elf-gcc -Os -m32 -march=RV32I -ffreestanding -nostdlib -o $@ \ + riscv64-unknown-elf-gcc -Os -m32 -ffreestanding -nostdlib -o $@ \ -Wl,-Bstatic,-T,firmware/sections.lds,-Map,firmware/firmware.map,--strip-debug \ $(FIRMWARE_OBJS) $(TEST_OBJS) -lgcc chmod -x $@ @@ -40,10 +40,10 @@ firmware/start.o: firmware/start.S riscv64-unknown-elf-gcc -c -m32 -o $@ $< firmware/%.o: firmware/%.c - riscv64-unknown-elf-gcc -c -Os -m32 -march=RV32I -ffreestanding -nostdlib -o $@ $< + riscv64-unknown-elf-gcc -c -m32 -march=RV32I -Os -ffreestanding -nostdlib -o $@ $< tests/%.o: tests/%.S tests/riscv_test.h tests/test_macros.h - riscv64-unknown-elf-gcc -m32 -march=RV32I -c -o $@ -DTEST_FUNC_NAME=$(notdir $(basename $<)) \ + riscv64-unknown-elf-gcc -c -m32 -o $@ -DTEST_FUNC_NAME=$(notdir $(basename $<)) \ -DTEST_FUNC_TXT='"$(notdir $(basename $<))"' -DTEST_FUNC_RET=$(notdir $(basename $<))_ret $< clean: |