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))