mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/libdrm: fix install of test programs
Buildroot commitf95069814bdisabled the build of test programs unconditionally without considering the option BR2_PACKAGE_LIBDRM_INSTALL_TESTS. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit91848e73ae) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
8886594d59
commit
d50049e60f
@@ -17,8 +17,7 @@ LIBDRM_DEPENDENCIES = \
|
|||||||
|
|
||||||
LIBDRM_CONF_OPTS = \
|
LIBDRM_CONF_OPTS = \
|
||||||
-Dcairo-tests=disabled \
|
-Dcairo-tests=disabled \
|
||||||
-Dman-pages=disabled \
|
-Dman-pages=disabled
|
||||||
-Dtests=false
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
|
ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
|
||||||
LIBDRM_DEPENDENCIES += libatomic_ops
|
LIBDRM_DEPENDENCIES += libatomic_ops
|
||||||
@@ -109,10 +108,12 @@ LIBDRM_CONF_OPTS += -Dvalgrind=disabled
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y)
|
ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y)
|
||||||
LIBDRM_CONF_OPTS += -Dinstall-test-programs=true
|
LIBDRM_CONF_OPTS += -Dtests=true -Dinstall-test-programs=true
|
||||||
ifeq ($(BR2_PACKAGE_CUNIT),y)
|
ifeq ($(BR2_PACKAGE_CUNIT),y)
|
||||||
LIBDRM_DEPENDENCIES += cunit
|
LIBDRM_DEPENDENCIES += cunit
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
LIBDRM_CONF_OPTS += -Dtests=false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(meson-package))
|
$(eval $(meson-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user