summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2017-03-26 18:28:50 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-01 15:56:45 +0200
commit9c4002e9afc7dbadb95453fccf1d47736a8e5cca (patch)
tree13d8bdbfa78957ed6ef633984dcbabad4916730d
parent41eb72120a2b8035a7e0eb6ff87dde0541c33573 (diff)
downloadbuildroot-9c4002e9afc7dbadb95453fccf1d47736a8e5cca.tar.gz
buildroot-9c4002e9afc7dbadb95453fccf1d47736a8e5cca.zip
package/mesa3d: add libvdpau optional dependency
If libvdpau package is build before mesa3d, it will be detected and enabled by the configure script. Handle libvdpau in mesa3d for consistency. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mesa3d/mesa3d.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index ca23f41a2f..4b95e9b166 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -176,6 +176,13 @@ else
MESA3D_CONF_OPTS += --disable-texture-float
endif
+ifeq ($(BR2_PACKAGE_LIBVDPAU),y)
+MESA3D_DEPENDENCIES += libvdpau
+MESA3D_CONF_OPTS += --enable-vdpau
+else
+MESA3D_CONF_OPTS += --disable-vdpau
+endif
+
ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
MESA3D_CONF_OPTS += --enable-lmsensors
MESA3D_DEPENDENCIES += lm-sensors
OpenPOWER on IntegriCloud