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