package/libvirt: fix dependencies in Config.in

Drop spurious "depends on WCHAR" added with commit
ccfc90e101 and adds missing wchar comment

While at it, drop BR2_USE_MMU from comment as it is already added by
BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS and fix indentation before
(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64))

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-12-13 23:10:35 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 86f91e14b5
commit 250e965803

View File

@ -5,12 +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 (4.11 for AArch64)"
comment "libvirt needs udev /dev management, a toolchain w/ threads, dynamic library, wchar, 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 || \
depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
!(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 && \
(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64))
(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64))
config BR2_PACKAGE_LIBVIRT
bool "libvirt"
@ -19,7 +19,6 @@ config BR2_PACKAGE_LIBVIRT
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64
depends on BR2_PACKAGE_HAS_UDEV
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR
select BR2_PACKAGE_GNUTLS