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>
This commit is contained in:
parent
fb04a819ae
commit
1705f775e9
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user