diff options
author | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-07-01 15:11:15 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-07-01 16:23:36 -0700 |
commit | 0ddf033f7202893f835df6199e4e903ece25b3fa (patch) | |
tree | afdbf0a07e4e4cb3351dfe2461930caa5c4db3e4 /configure.ac | |
parent | 8ec335a7382c0fdbd6e5d9148f32180719361b2c (diff) | |
download | riscv-gnu-toolchain-0ddf033f7202893f835df6199e4e903ece25b3fa.zip riscv-gnu-toolchain-0ddf033f7202893f835df6199e4e903ece25b3fa.tar.gz riscv-gnu-toolchain-0ddf033f7202893f835df6199e4e903ece25b3fa.tar.bz2 |
Add "--with-base-isa" support to autoconf
This allows someone to build a RV32I toolchain without going in and
messing with the Makefile directly.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 55bab4d..f3e63fd 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,13 @@ AC_ARG_WITH(xlen, AC_SUBST(XLEN, 64) ) +AC_ARG_WITH(base-isa, + [AS_HELP_STRING([--with-base-isa=G/I], + [Sets the base RISC-V ISA to either G or I, defaults to G])], + AC_SUBST(BASE_ISA, $withval), + AC_SUBST(BASE_ISA, G) + ) + AC_ARG_ENABLE(atomic, [AS_HELP_STRING([--disable-atomic], [disable use of atomic memory instructions in glibc @<:@--enable-atomic@:>@])], |