libdrm: add etnaviv (i.MX6/Vivante GCxxx) option
authorPeter Seiderer <ps.report@gmx.net>
Tue, 4 Oct 2016 19:29:21 +0000 (21:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 5 Oct 2016 07:58:56 +0000 (09:58 +0200)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libdrm/Config.in
package/libdrm/libdrm.mk

index 3f39e27e7afc042f96fd546d68d0e93bc2cab218..81fc5ccf9fe82f5add651a6c76a98f60494e9c33 100644 (file)
@@ -62,6 +62,14 @@ config BR2_PACKAGE_LIBDRM_OMAP
        help
          Install the TI OMAP driver using an experimental API.
 
+config BR2_PACKAGE_LIBDRM_ETNAVIV
+       bool "etnaviv (experimental)"
+       depends on BR2_arm
+       depends on BR2_PACKAGE_LIBDRM_HAS_ATOMIC
+       select BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC
+       help
+         Install the Etnaviv/Vivante driver using an experimental API.
+
 config BR2_PACKAGE_LIBDRM_EXYNOS
        bool "exynos (experimental)"
        depends on BR2_arm
index d06f3ecd5a73b074bca8392686dfe11cc2650bc7..cce50236f413db9edaa9fff0f34de06684e637aa 100644 (file)
@@ -65,6 +65,12 @@ else
 LIBDRM_CONF_OPTS += --disable-omap-experimental-api
 endif
 
+ifeq ($(BR2_PACKAGE_LIBDRM_ETNAVIV),y)
+LIBDRM_CONF_OPTS += --enable-etnaviv-experimental-api
+else
+LIBDRM_CONF_OPTS += --disable-etnaviv-experimental-api
+endif
+
 ifeq ($(BR2_PACKAGE_LIBDRM_EXYNOS),y)
 LIBDRM_CONF_OPTS += --enable-exynos-experimental-api
 else