xref: /OK3568_Linux_fs/buildroot/package/kmsxx/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_KMSXX
2	bool "kms++"
3	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
4	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 # linux/dma-buf.h
5	depends on BR2_INSTALL_LIBSTDCPP
6	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
7	depends on BR2_USE_WCHAR # fmt
8	select BR2_PACKAGE_FMT
9	select BR2_PACKAGE_LIBDRM
10	help
11	  libkms++ is a C++11 library for kernel mode setting.
12
13	  Also included are simple test tools for KMS.
14
15	  https://github.com/tomba/kmsxx
16
17if BR2_PACKAGE_KMSXX
18
19config BR2_PACKAGE_KMSXX_INSTALL_TESTS
20	bool "Install test programs"
21	help
22	  This option allows to install the kmsxx test programs.
23
24endif
25
26comment "kms++ needs a toolchain w/ threads, C++, gcc >= 4.8, headers >= 4.11, wchar"
27	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
28		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 \
29		|| !BR2_USE_WCHAR
30