qemu: enable RISC-V usermode emulation

This commit is contained in:
Leonid Pliushch 2019-02-04 19:44:54 +02:00 committed by Yaksh Bariya
parent 2f4259be79
commit c9e84c61ec
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
3 changed files with 7 additions and 1 deletions

View File

@ -15,7 +15,7 @@ share/man/man8
" "
termux_step_configure() { termux_step_configure() {
local ENABLED_TARGETS="aarch64-softmmu,arm-softmmu,i386-softmmu,riscv32-softmmu,riscv64-softmmu,x86_64-softmmu,aarch64-linux-user,arm-linux-user,i386-linux-user,x86_64-linux-user" local ENABLED_TARGETS="aarch64-softmmu,arm-softmmu,i386-softmmu,riscv32-softmmu,riscv64-softmmu,x86_64-softmmu,aarch64-linux-user,arm-linux-user,i386-linux-user,riscv32-user,riscv64-user,x86_64-linux-user"
./configure \ ./configure \
--prefix="${TERMUX_PREFIX}" --cross-prefix="${CC//clang}" \ --prefix="${TERMUX_PREFIX}" --cross-prefix="${CC//clang}" \

View File

@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="bin/qemu-riscv32"
TERMUX_SUBPKG_DEPENDS="libandroid-shmem, glib, libc++"
TERMUX_SUBPKG_DESCRIPTION="CPU usermode emulation (riscv32)"

View File

@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="bin/qemu-riscv64"
TERMUX_SUBPKG_DEPENDS="libandroid-shmem, glib, libc++"
TERMUX_SUBPKG_DESCRIPTION="CPU usermode emulation (riscv64)"