c77e25c3f1
linux-pam raises the following build failure with gcc 4.8 since bump to version 1.5.3 in commitf8147e27cd
and8f9816b57e
: pam_access.c: In function 'pam_sm_authenticate': pam_access.c:1084:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; filename_list[i] != NULL; i++) { ^ Those build failures could be fixed by adding -std=c99 but then the build will fails because stdadtomic.h is mandatory sincea35e092e24
Fixes: - http://autobuild.buildroot.org/results/9b2ba987d2c873f4a7caea72707acb655279d16b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
66 lines
2.0 KiB
Plaintext
66 lines
2.0 KiB
Plaintext
config BR2_PACKAGE_OPENVMTOOLS_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_i386
|
|
default y if BR2_x86_64
|
|
default y if BR2_aarch64
|
|
|
|
config BR2_PACKAGE_OPENVMTOOLS
|
|
bool "openvmtools"
|
|
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
|
|
depends on BR2_ENABLE_LOCALE
|
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_LIBDNET
|
|
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
help
|
|
Open Virtual Machine Tools for VMware guest OS
|
|
|
|
https://github.com/vmware/open-vm-tools
|
|
|
|
ICU locales, Xerces, and X11 tools are currently not
|
|
supported.
|
|
|
|
NOTE: Support for vmblock-fuse will be enabled in
|
|
openvmtools if the libfuse package is selected.
|
|
|
|
if BR2_PACKAGE_OPENVMTOOLS
|
|
|
|
config BR2_PACKAGE_OPENVMTOOLS_PAM
|
|
bool "PAM support"
|
|
# linux-pam needs locale and wchar, but we already have this
|
|
# dependency on the main symbol, above.
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_LINUX_PAM
|
|
help
|
|
Support for PAM in openvmtools
|
|
|
|
comment "PAM support needs a toolchain w/ dynamic library, gcc >= 4.9"
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
config BR2_PACKAGE_OPENVMTOOLS_RESOLUTIONKMS
|
|
bool "resolutionkms support"
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
|
|
depends on BR2_i386 || BR2_x86_64 # libdrm vmwgfx
|
|
select BR2_PACKAGE_LIBDRM
|
|
select BR2_PACKAGE_LIBDRM_VMWGFX
|
|
help
|
|
Enable support for resolutionkms
|
|
|
|
comment "resolutionkms needs udev, a toolchain w/ threads"
|
|
depends on BR2_i386 || BR2_x86_64
|
|
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
endif
|
|
|
|
comment "openvmtools needs a glibc or musl toolchain w/ wchar, threads, locale"
|
|
depends on BR2_PACKAGE_OPENVMTOOLS_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_ENABLE_LOCALE || \
|
|
BR2_TOOLCHAIN_USES_UCLIBC
|