Add registers in rust
This commit is contained in:
5
Makefile
5
Makefile
@@ -61,7 +61,8 @@ TEST_MAX_PROCS := $$(($$(nproc) - 2)) ## Garde un processeur libre
|
||||
|
||||
.PRECIOUS: $(MEM_DIR)/%.elf
|
||||
|
||||
.PHONY: synthese fpga clean compile autotest simulation
|
||||
.PHONY: synthese fpga clean compile autotest simulation force
|
||||
force:
|
||||
|
||||
compile: $(MEM)
|
||||
$(MEM_DIR):
|
||||
@@ -69,7 +70,7 @@ $(MEM_DIR):
|
||||
@mkdir -p $@/programs
|
||||
@mkdir -p $@/programs_rust
|
||||
|
||||
$(MEM_DIR)/programs_rust/%.elf: bench/programs_rust/% |$(MEM_DIR)
|
||||
$(MEM_DIR)/programs_rust/%.elf: bench/programs_rust/% force |$(MEM_DIR)
|
||||
cd bench/programs_rust && cargo build --release --bin=$(basename $(notdir $@))
|
||||
cp -f bench/programs_rust/target/riscv64i/release/$(basename $(notdir $@)) $@
|
||||
$(MEM_DIR)/crt.o: $(BENCH_DIR)/crt.S |$(MEM_DIR)
|
||||
|
||||
Reference in New Issue
Block a user