From 7f3b666f55c9f01c2f2fd725c1686e1a509df173 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 12 Jul 2016 11:17:10 -0700 Subject: Add a "--with-xlen" configure argument (#16) The tools had riscv64-unknown-elf-gcc hard-coded all over the place. This lets users override that if they have a 32-bit toolchain. --- mt/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mt') diff --git a/mt/Makefile b/mt/Makefile index e4a8bfd..b45e551 100644 --- a/mt/Makefile +++ b/mt/Makefile @@ -75,7 +75,7 @@ bmarks = $(bmarks_vvadd) $(bmarks_matmul) # Build rules #-------------------------------------------------------------------- -RISCV_PREFIX=riscv64-unknown-elf- +RISCV_PREFIX=riscv$(XLEN)-unknown-elf- RISCV_GCC = $(RISCV_PREFIX)gcc RISCV_GCC_OPTS = -std=gnu99 -O2 -ffast-math RISCV_LINK = $(RISCV_GCC) -T $(common)/test.ld $(incs) -- cgit v1.1