mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/openvmtools: refactor using BR2_PACKAGE_OPENVMTOOLS_ARCH_SUPPORTS
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit b05b6bb9fa)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
7f0b5e0cb7
commit
3514b6e094
@@ -1,6 +1,11 @@
|
||||
config BR2_PACKAGE_OPENVMTOOLS_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_i386
|
||||
default y if BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_OPENVMTOOLS
|
||||
bool "openvmtools"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_PACKAGE_OPENVMTOOLS_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
@@ -51,7 +56,7 @@ comment "resolutionkms needs udev, a toolchain w/ threads"
|
||||
endif
|
||||
|
||||
comment "openvmtools needs a glibc or musl toolchain w/ wchar, threads, locale"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_PACKAGE_OPENVMTOOLS_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_ENABLE_LOCALE || \
|
||||
|
||||
Reference in New Issue
Block a user