libdrm: add vc4 (Raspberry Pi) option

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Peter Seiderer 2016-02-25 23:48:42 +01:00 committed by Thomas Petazzoni
parent 117af296f8
commit 78efe747c5
2 changed files with 12 additions and 0 deletions

View File

@ -69,6 +69,12 @@ config BR2_PACKAGE_LIBDRM_TEGRA
help
Install NVIDIA Tegra driver using an experimental API.
config BR2_PACKAGE_LIBDRM_VC4
bool "vc4"
depends on BR2_arm
help
Install vc4 (Raspberry Pi) driver.
endmenu
endif

View File

@ -76,6 +76,12 @@ else
LIBDRM_CONF_OPTS += --disable-tegra-experimental-api
endif
ifeq ($(BR2_PACKAGE_LIBDRM_VC4),y)
LIBDRM_CONF_OPTS += --enable-vc4
else
LIBDRM_CONF_OPTS += --disable-vc4
endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
LIBDRM_CONF_OPTS += --enable-udev
LIBDRM_DEPENDENCIES += udev