diff options
| author | Matt Weber <matthew.weber@rockwellcollins.com> | 2018-11-01 13:58:16 -0500 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-11-29 22:50:47 +0100 |
| commit | 1705f775e90895d6fba522444355eadbe2b0be93 (patch) | |
| tree | 7d59937abb1a696dcba39965d9332be3a7409212 /package/libdrm | |
| parent | fb04a819ae9188be482630ba707ad90cf7319ed1 (diff) | |
| download | buildroot-1705f775e90895d6fba522444355eadbe2b0be93.tar.gz buildroot-1705f775e90895d6fba522444355eadbe2b0be93.zip | |
package/libdrm: add optional cunit dependency
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@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@bootlin.com>
Diffstat (limited to 'package/libdrm')
| -rw-r--r-- | package/libdrm/libdrm.mk | 3 |
1 files changed, 3 insertions, 0 deletions
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 ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y) LIBDRM_CONF_OPTS += --enable-install-test-programs +ifeq ($(BR2_PACKAGE_CUNIT),y) +LIBDRM_DEPENDENCIES += cunit +endif endif $(eval $(autotools-package)) |

