Skip to contentSkip to conversation

libdrm: add vc4 (Raspberry Pi) option

PATCH New Peter Seiderer 2 participants 2 messages Feb 25, 2016 – Mar 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libdrm: add vc4 (Raspberry Pi) option

---
Changes v1 -> v2:
- rebased on next branch (and droped duplicate version bump patch) (suggested by Peter Korsgaard)
- fix typo '((' in commit message

---
 package/libdrm/Config.in | 6 ++++++
 package/libdrm/libdrm.mk | 6 ++++++
 2 files changed, 12 insertions(+)
package/libdrm/Config.in +6 -0
index 445a85b..343a2ed 100644
@@ -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
package/libdrm/libdrm.mk +6 -0
index 99a78d2..4082a19 100644
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 1/1 libdrm: add vc4 (Raspberry Pi) option

Hello,

Quoted 10 lines · Peter Seiderer

---
Changes v1 -> v2:
- rebased on next branch (and droped duplicate version bump patch) (suggested by Peter Korsgaard)
- fix typo '((' in commit message

---
 package/libdrm/Config.in | 6 ++++++
 package/libdrm/libdrm.mk | 6 ++++++
 2 files changed, 12 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com