2016-07-28 21:38:25 +02:00
|
|
|
config BR2_PACKAGE_KMSXX
|
|
|
|
bool "kms++"
|
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
2020-11-29 18:56:33 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 # linux/dma-buf.h
|
2016-07-28 21:38:25 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
|
2020-12-13 11:24:46 +01:00
|
|
|
depends on BR2_USE_WCHAR # fmt
|
2020-11-29 18:56:33 +01:00
|
|
|
select BR2_PACKAGE_FMT
|
2016-07-28 21:38:25 +02:00
|
|
|
select BR2_PACKAGE_LIBDRM
|
|
|
|
help
|
|
|
|
libkms++ is a C++11 library for kernel mode setting.
|
|
|
|
|
|
|
|
Also included are simple test tools for KMS.
|
|
|
|
|
|
|
|
https://github.com/tomba/kmsxx
|
|
|
|
|
|
|
|
if BR2_PACKAGE_KMSXX
|
|
|
|
|
|
|
|
config BR2_PACKAGE_KMSXX_INSTALL_TESTS
|
|
|
|
bool "Install test programs"
|
|
|
|
help
|
|
|
|
This option allows to install the kmsxx test programs.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2020-12-13 11:24:46 +01:00
|
|
|
comment "kms++ needs a toolchain w/ threads, C++, gcc >= 4.8, headers >= 4.11, wchar"
|
2016-08-06 00:48:30 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
2020-12-13 11:24:46 +01:00
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 \
|
|
|
|
|| !BR2_USE_WCHAR
|