diff options
author | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-01-09 17:34:19 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-01-09 17:34:19 -0800 |
commit | 12c1b6d2bfd68722b0604f7d0e8cf3e13149409f (patch) | |
tree | f38f24530f7fdebea69dd5ad5c76a0273ace76f7 /configure.ac | |
parent | 2ea924b4490a92a8b0925481c967739374e4a30e (diff) | |
download | riscv-gnu-toolchain-12c1b6d2bfd68722b0604f7d0e8cf3e13149409f.zip riscv-gnu-toolchain-12c1b6d2bfd68722b0604f7d0e8cf3e13149409f.tar.gz riscv-gnu-toolchain-12c1b6d2bfd68722b0604f7d0e8cf3e13149409f.tar.bz2 |
Add an "--enable-linux" option to ./configure
I keep forgetting that the default option is to build newlib. This
flag changes the default target to Linux, so I don't keep forgetting
to type "make linux".
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8219c32..44fbd45 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,12 @@ AC_CHECK_LIB(mpc, mpc_add, , [AC_MSG_ERROR( [MPC 0.8.1 or greater not found. See http://www.multiprecision.org])]) +AC_ARG_ENABLE(linux, + [Toolchain targets Linux], + AC_SUBST(default_target, linux), + AC_SUBST(default_target, newlib) + ) + AC_OUTPUT( Makefile ) |