package/libvirt: fix dependency of comment
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 19 Aug 2021 21:47:09 +0000 (23:47 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 19 Aug 2021 21:47:09 +0000 (23:47 +0200)
d1fc0690addd (package/libvirt: fix dependencies on kernel headers)
forgot to update the conditions for the comment after the last-minute
changes by Yann.

Fix that.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libvirt/Config.in

index ee042e3cd870e8f88ce8da00c3e46a222d9c5335..9308d2a6acf3054185df02db4eb397d1d62173df 100644 (file)
@@ -5,11 +5,12 @@ config BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS
        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"