summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <ezequiel@vanguardiasur.com.ar>2014-05-23 12:13:19 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-14 19:05:38 +0200
commite6e14a71b74f16902ff0a073c44b4f00a4e5c06a (patch)
treebb18f096b59d0e1160e6524829e6e82a2565adc2
parent20d4ba91c5ed42b07c1e82b2095c0cc312deb0c7 (diff)
downloadbuildroot-e6e14a71b74f16902ff0a073c44b4f00a4e5c06a.tar.gz
buildroot-e6e14a71b74f16902ff0a073c44b4f00a4e5c06a.zip
libdrm: Add menu option to install the test programs
The libdrm has a bunch of useful test programs. Add an option to pass the configure option to install them. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libdrm/Config.in5
-rw-r--r--package/libdrm/libdrm.mk4
2 files changed, 9 insertions, 0 deletions
diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index e6a7a4258d..9acc908592 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -10,6 +10,11 @@ config BR2_PACKAGE_LIBDRM
if BR2_PACKAGE_LIBDRM
+config BR2_PACKAGE_LIBDRM_INSTALL_TESTS
+ bool "Install test programs"
+ help
+ This option allows to install the libdrm test programs.
+
menu "DRM Drivers"
config BR2_PACKAGE_LIBDRM_INTEL
diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index b3e4d7ae8f..d912d6dddb 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -69,4 +69,8 @@ else
LIBDRM_CONF_OPT += --disable-udev
endif
+ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y)
+LIBDRM_CONF_OPT += --enable-install-test-programs
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud