aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2018-07-09 19:47:44 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-07-10 11:21:14 +0200
commit5c1ae91a245e1d9bcec03852c7be8cbbdf858a6b (patch)
tree7846edd963c9c06eab53c5e7b9343a3e3879cbbb
parent96b4568f596fb9337d2e099f6e33d5aecc2db4ac (diff)
downloadbuildroot-5c1ae91a245e1d9bcec03852c7be8cbbdf858a6b.tar.gz
buildroot-5c1ae91a245e1d9bcec03852c7be8cbbdf858a6b.tar.bz2
package/ffmpeg: add optional support for libdrm
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/ffmpeg/ffmpeg.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index 432e4cda09..82140e266e 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -231,6 +231,13 @@ ifeq ($(BR2_PACKAGE_FFMPEG_GPL)$(BR2_PACKAGE_LIBEBUR128),yy)
FFMPEG_DEPENDENCIES += libebur128
endif
+ifeq ($(BR2_PACKAGE_LIBDRM),y)
+FFMPEG_CONF_OPTS += --enable-libdrm
+FFMPEG_DEPENDENCIES += libdrm
+else
+FFMPEG_CONF_OPTS += --disable-libdrm
+endif
+
ifeq ($(BR2_PACKAGE_LIBOPENH264),y)
FFMPEG_CONF_OPTS += --enable-libopenh264
FFMPEG_DEPENDENCIES += libopenh264