default y if BR2_x86_64
depends on BR2_USE_MMU # fork()
-comment "libvirt needs udev /dev management, a toolchain w/ threads, dynamic library, kernel headers >= 3.12"
+comment "libvirt needs udev /dev management, a toolchain w/ threads, dynamic library, kernel headers >= 3.12 (4.11 for AArch64)"
depends on BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS
depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || !BR2_USE_MMU || \
!BR2_TOOLCHAIN_HAS_THREADS || \
- !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
+ !(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 &&
+ (BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64))
config BR2_PACKAGE_LIBVIRT
bool "libvirt"