diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2016-07-12 11:17:10 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2016-07-12 11:17:10 -0700 |
commit | 7f3b666f55c9f01c2f2fd725c1686e1a509df173 (patch) | |
tree | 2e256eed2b68c15a0e0dfa6984acf96bd2252fca /Makefile.in | |
parent | b6c8a03dcd7ed3c109d2c9da797b295f160f051d (diff) | |
download | riscv-tests-7f3b666f55c9f01c2f2fd725c1686e1a509df173.zip riscv-tests-7f3b666f55c9f01c2f2fd725c1686e1a509df173.tar.gz riscv-tests-7f3b666f55c9f01c2f2fd725c1686e1a509df173.tar.bz2 |
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.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 9129d56..62a95b2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,6 @@ prefix := @prefix@ abs_top_src_dir := @abs_top_srcdir@ +XLEN := @XLEN@ instbasedir := $(DESTDIR)$(prefix) bmarkdir := $(abs_top_src_dir)/benchmarks isa_src_dir := $(abs_top_src_dir)/isa @@ -14,11 +15,11 @@ install: all benchmarks: mkdir -p benchmarks - $(MAKE) -C benchmarks -f $(bmarkdir)/Makefile src_dir=$(bmarkdir) + $(MAKE) -C benchmarks -f $(bmarkdir)/Makefile src_dir=$(bmarkdir) XLEN=$(XLEN) isa: mkdir -p isa - $(MAKE) -C isa -f $(isa_src_dir)/Makefile src_dir=$(isa_src_dir) + $(MAKE) -C isa -f $(isa_src_dir)/Makefile src_dir=$(isa_src_dir) XLEN=$(XLEN) clean: $(MAKE) -C isa -f $(isa_src_dir)/Makefile src_dir=$(isa_src_dir) clean |