From: Peter Seiderer Date: Tue, 4 Oct 2016 19:29:21 +0000 (+0200) Subject: libdrm: add etnaviv (i.MX6/Vivante GCxxx) option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efe223f4ade1516c64325439b566ad33b38b4e78;p=buildroot.git libdrm: add etnaviv (i.MX6/Vivante GCxxx) option Signed-off-by: Peter Seiderer Reviewed-by: Fabio Estevam Signed-off-by: Thomas Petazzoni --- 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