Skip to content

Commit 96e155a

Browse files
committed
As per this old thread [1], one cannot mix softmmu with static.
We need linux-user type of target. This commit combines --static with --riscv64-linux-user mode. [1] https://lists.gnu.org/archive/html/qemu-devel/2011-11/msg02878.html Signed-off-by: Artyom Gevorgyan <artemhevorgian@gmail.com>
1 parent 294dc44 commit 96e155a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ git apply ../tweak_linux_config_options.patch
1313
echo 'Successfully applied the required patches. Configuring now...'
1414
# Most importantly, note '--static'
1515
mkdir build-riscv64 && cd build-riscv64
16-
../configure --target-list=riscv64-softmmu --static --audio-drv-list="" --without-default-devices --disable-vnc
16+
../configure --target-list=riscv64-linux-user --static --disable-vnc --without-default-devices
1717

1818
echo "Successfully configured. Building now..."
1919
# On my machine, configuration step did not collect all the dependencies

0 commit comments

Comments
 (0)