![]() ![]() error_exit "pkg-config binary '$pkg_config_exe' not found" pkg_config_exe=scripts/android-pkg-config error_exit "pkg-config binary '$pkg_config_exe' not found" libs_qga="-lglib-2.0 -lgthread-2.0 -lz -lpixman-1 -lintl -liconv -lc" LIBS="-lglib-2.0 -lgthread-2.0 -lz -lpixman-1 -lintl -liconv -lc $LIBS" QEMU_INCLUDES="-I\$(SRC_PATH)/include/android $QEMU_INCLUDES" QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers -I$(pwd)/linux-headers $QEMU_INCLUDES" disable-usb-redir -disable-libusb -static Or, configure qemu to static link version: disable-gnutls -disable-libnfs -disable-glusterfs -disable-libssh2 -disable-seccomp \ disable-spice -disable-vhost-net -disable-libiscsi -audio-drv-list="" -disable-gtk \ enable-kvm -enable-trace-backend=nop -disable-fdt -target-list=x86_64-softmmu \ % CFLAGS=" -sysroot=$SYSROOT -I$SYSROOT/usr/include -I$SYSROOT/usr/include/pixman-1/" \ % export SYSROOT="/opt/android-toolchain64/sysroot" download the ndk toolchain r10, build the following libraries and install in your toolchain sysroot: ![]() The kernel headers for android include two kernel header missing in android: scsi/sg.h andġ. shm_open(): not see this feature in android, directly return -1. lockf(): not see this feature in android, directly return -1. sigtimewait(): call _rt_sigtimewait() instead. getdtablesize(): call getrlimit() instead. The OS dependent code for android that implement functions missing in bionic C, including: A pseudo pkg-config script is added to report correct The configure scripts add cross-compile options for android, define compile flags and link flagsĪnd call android specific pkg-config. X86_64 and x86 android platform with hardware virtualization enabled. This patch is to build qemu in android ndk tool-chain, and has been tested in both To: linhaocheng, houcheng, peter.maydell, kvm, pbonzini 10:19 ` Fam Zheng 0 siblings, 2 replies 11 messages in thread Os-android: Add support to android platform, built by ndk-r10 archive mirror help / color / mirror / Atom feed * os-android: Add support to android platform, built by ndk-r10 2:11 Houcheng Lin ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |