diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2022-05-12 08:37:55 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-05-12 08:37:55 -0700 |
commit | 925ee4db5f180d9d6d832b66f34a3978a1f3434c (patch) | |
tree | 66c23c659dd7244201fbdf8b8224761484c33f38 /configure | |
parent | 29a0ca89722da1a359f02df868b2142df86cf9fa (diff) | |
download | riscv-gnu-toolchain-925ee4db5f180d9d6d832b66f34a3978a1f3434c.zip riscv-gnu-toolchain-925ee4db5f180d9d6d832b66f34a3978a1f3434c.tar.gz riscv-gnu-toolchain-925ee4db5f180d9d6d832b66f34a3978a1f3434c.tar.bz2 |
Regenerate configure for 29a0ca8 ("Allow users to build QEMU with system-mode emulation")
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 28 |
1 files changed, 24 insertions, 4 deletions
@@ -584,8 +584,9 @@ PACKAGE_URL='' ac_subst_vars='LTLIBOBJS LIBOBJS -with_linux_headers_src +qemu_targets enable_libsanitizer +with_linux_headers_src with_qemu_src with_gdb_src with_musl_src @@ -694,6 +695,7 @@ with_gdb_src with_qemu_src with_linux_headers_src enable_libsanitizer +enable_qemu_system ' ac_precious_vars='build_alias host_alias @@ -1332,6 +1334,7 @@ Optional Features: [--disable-gcc-checking] --disable-gdb Don't build GDB, as it's not upstream --enable-libsanitizer Build libsanitizer, which only supports rv64 + --enable-qemu-system Build qemu with system-mode emulation Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -3678,6 +3681,14 @@ else fi +if test "x$with_linux_headers_src" != xdefault; then : + with_linux_headers_src=$with_linux_headers_src + +else + with_linux_headers_src="\$(srcdir)/linux-headers/include" + +fi + # Check whether --enable-libsanitizer was given. if test "${enable_libsanitizer+set}" = set; then : enableval=$enable_libsanitizer; @@ -3695,11 +3706,20 @@ else fi -if test "x$with_linux_headers_src" != xdefault; then : - with_linux_headers_src=$with_linux_headers_src +# Check whether --enable-qemu_system was given. +if test "${enable_qemu_system+set}" = set; then : + enableval=$enable_qemu_system; +else + enable_qemu_system=no + +fi + + +if test "x$enable_qemu_system" != xno; then : + qemu_targets=riscv64-linux-user,riscv32-linux-user,riscv64-softmmu,riscv32-softmmu else - with_linux_headers_src="\$(srcdir)/linux-headers/include" + qemu_targets=riscv64-linux-user,riscv32-linux-user fi |