| config BR2_PACKAGE_KMSXX |
| bool "kms++" |
| depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |
| depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 |
| depends on BR2_INSTALL_LIBSTDCPP |
| depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm |
| 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 |
| |
| comment "kms++ needs a toolchain w/ threads, C++, gcc >= 4.8, headers >= 3.8" |
| depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ |
| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 |