diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2020-11-05 14:09:08 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2020-11-06 11:14:12 +0800 |
commit | 2220a4ca0bb4c2ebeae38e30a7559ce398ed7ce5 (patch) | |
tree | 35251fe97384b6ce0bbcb39570df5e23c40653a8 /configure | |
parent | 4f197984c3b1c203d05c6b74c220d681e771d173 (diff) | |
download | riscv-gnu-toolchain-2220a4ca0bb4c2ebeae38e30a7559ce398ed7ce5.zip riscv-gnu-toolchain-2220a4ca0bb4c2ebeae38e30a7559ce398ed7ce5.tar.gz riscv-gnu-toolchain-2220a4ca0bb4c2ebeae38e30a7559ce398ed7ce5.tar.bz2 |
Add --with-multilib-generator option
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -602,6 +602,7 @@ gcc_checking newlib_multilib_names glibc_multilib_names multilib_flags +multilib_gen WITH_TUNE WITH_ABI WITH_ARCH @@ -670,6 +671,7 @@ with_arch with_abi with_tune enable_multilib +with_multilib_generator enable_gcc_checking with_cmodel with_target_cflags @@ -1329,6 +1331,10 @@ Optional Packages: --with-arch=rv64imafdc Sets the base RISC-V ISA, defaults to rv64imafdc --with-abi=lp64d Sets the base RISC-V ABI, defaults to lp64d --with-tune=rocket Set the base RISC-V CPU, defaults to rocket + --with-multilib-generator + Multi-libs configuration string, only supported for + bare-metal/elf toolchaih, this option implied + --enable-multilib --with-cmodel Select the code model to use when building libc and libgcc [--with-cmodel=medlow] --with-target-cflags Add extra target flags for C for library code @@ -3330,7 +3336,26 @@ else fi -if test "x$enable_multilib" != xno; then : + +# Check whether --with-multilib-generator was given. +if test "${with_multilib_generator+set}" = set; then : + withval=$with_multilib_generator; +else + with_multilib_generator=no + +fi + + +if test "x$with_multilib_generator" != xno; then : + multilib_gen="$with_multilib_generator" + +else + multilib_gen="" + +fi + + +if test "x$enable_multilib" != xno || test "x$with_multilib_generator" != xno; then : multilib_flags=--enable-multilib else |