1config BR2_PACKAGE_KVMTOOL 2 bool "kvmtool" 3 depends on BR2_USE_MMU # guest simple init fork() 4 # No MADV_HUGEPAGE define in uClibc(-ng) 5 depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) 6 # Only mips big-endian seems to be supported (build breaks) 7 # Should work on powerpc64 but the build breaks with missing types 8 depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \ 9 BR2_mips || BR2_x86_64 10 # libfdt is only required for DT architectures... 11 # ...but it's not able to build for static targets 12 depends on !(BR2_STATIC_LIBS && (BR2_aarch64 || BR2_arm || BR2_armeb)) 13 select BR2_PACKAGE_DTC if BR2_aarch64 || BR2_arm || BR2_armeb 14 help 15 kvmtool is a lightweight tool for hosting KVM guests. 16 As a pure virtualization tool it only supports guests using 17 the same architecture, though it supports running 32-bit 18 guests on those 64-bit architectures that allow this. 19 20 https://git.kernel.org/cgit/linux/kernel/git/will/kvmtool.git/tree/README 21 22comment "kvmtool needs a glibc or musl toolchain" 23 depends on BR2_USE_MMU 24 depends on BR2_i386 || BR2_mips || BR2_x86_64 25 depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) 26 27comment "kvmtool needs a glibc or musl toolchain w/ dynamic library" 28 depends on BR2_USE_MMU 29 depends on BR2_aarch64 || BR2_arm || BR2_armeb 30 depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \ 31 BR2_STATIC_LIBS 32