libdrm: add vc4 (Raspberry Pi) option
authorPeter Seiderer <ps.report@gmx.net>
Thu, 25 Feb 2016 22:48:42 +0000 (23:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 31 Mar 2016 16:38:37 +0000 (18:38 +0200)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libdrm/Config.in
package/libdrm/libdrm.mk

index 445a85bf5b9e5b496338006aeddd2965c5c6392e..343a2ed5918bb2e43c5074b918f875b7b710dc1b 100644 (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
index 99a78d2df3135f18dadee8f71167e0e99ce0c5c0..4082a19f4920a77a717f22d7696892bb5e168b0b 100644 (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