[Buildroot] [git commit] package/libdrm: add optional cunit dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Nov 29 21:50:47 UTC 2018

commit: https://git.buildroot.net/buildroot/commit/?id=1705f775e90895d6fba522444355eadbe2b0be93
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Previously the option to install tests would result in the test cases
that don't have a cunit dependency, to build and be installed.

This patch adds an optional dependency on cunit so that all test cases
can be built and installed to target.

Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
[Thomas: keep as an optional dependency, as cunit is only useful for
additional tests specific to the amdgpu backend]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
 package/libdrm/libdrm.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index 18ef9cdd2e..06efa20195 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -115,6 +115,9 @@ endif
 LIBDRM_CONF_OPTS += --enable-install-test-programs
+ifeq ($(BR2_PACKAGE_CUNIT),y)
 $(eval $(autotools-package))

More information about the buildroot mailing list