From efe223f4ade1516c64325439b566ad33b38b4e78 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Tue, 4 Oct 2016 21:29:21 +0200 Subject: [PATCH] libdrm: add etnaviv (i.MX6/Vivante GCxxx) option Signed-off-by: Peter Seiderer Reviewed-by: Fabio Estevam Signed-off-by: Thomas Petazzoni --- package/libdrm/Config.in | 8 ++++++++ package/libdrm/libdrm.mk | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in index 3f39e27e7a..81fc5ccf9f 100644 --- a/package/libdrm/Config.in +++ b/package/libdrm/Config.in @@ -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 diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk index d06f3ecd5a..cce50236f4 100644 --- a/package/libdrm/libdrm.mk +++ b/package/libdrm/libdrm.mk @@ -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 -- 2.30.2