Skip to content

Commit 925ee4d

Browse files
Regenerate configure for 29a0ca8 ("Allow users to build QEMU with system-mode emulation")
Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 29a0ca8 commit 925ee4d

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

configure

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,9 @@ PACKAGE_URL=''
584584

585585
ac_subst_vars='LTLIBOBJS
586586
LIBOBJS
587-
with_linux_headers_src
587+
qemu_targets
588588
enable_libsanitizer
589+
with_linux_headers_src
589590
with_qemu_src
590591
with_gdb_src
591592
with_musl_src
@@ -694,6 +695,7 @@ with_gdb_src
694695
with_qemu_src
695696
with_linux_headers_src
696697
enable_libsanitizer
698+
enable_qemu_system
697699
'
698700
ac_precious_vars='build_alias
699701
host_alias
@@ -1332,6 +1334,7 @@ Optional Features:
13321334
[--disable-gcc-checking]
13331335
--disable-gdb Don't build GDB, as it's not upstream
13341336
--enable-libsanitizer Build libsanitizer, which only supports rv64
1337+
--enable-qemu-system Build qemu with system-mode emulation
13351338
13361339
Optional Packages:
13371340
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -3678,6 +3681,14 @@ else
36783681
fi
36793682
36803683
3684+
if test "x$with_linux_headers_src" != xdefault; then :
3685+
with_linux_headers_src=$with_linux_headers_src
3686+
3687+
else
3688+
with_linux_headers_src="\$(srcdir)/linux-headers/include"
3689+
3690+
fi
3691+
36813692
# Check whether --enable-libsanitizer was given.
36823693
if test "${enable_libsanitizer+set}" = set; then :
36833694
enableval=$enable_libsanitizer;
@@ -3695,11 +3706,20 @@ else
36953706
36963707
fi
36973708
3698-
if test "x$with_linux_headers_src" != xdefault; then :
3699-
with_linux_headers_src=$with_linux_headers_src
3709+
# Check whether --enable-qemu_system was given.
3710+
if test "${enable_qemu_system+set}" = set; then :
3711+
enableval=$enable_qemu_system;
3712+
else
3713+
enable_qemu_system=no
3714+
3715+
fi
3716+
3717+
3718+
if test "x$enable_qemu_system" != xno; then :
3719+
qemu_targets=riscv64-linux-user,riscv32-linux-user,riscv64-softmmu,riscv32-softmmu
37003720
37013721
else
3702-
with_linux_headers_src="\$(srcdir)/linux-headers/include"
3722+
qemu_targets=riscv64-linux-user,riscv32-linux-user
37033723
37043724
fi
37053725

0 commit comments

Comments
 (0)