From: Bernd Kuhls Date: Mon, 9 Jul 2018 17:47:44 +0000 (+0200) Subject: package/ffmpeg: add optional support for libdrm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c1ae91a245e1d9bcec03852c7be8cbbdf858a6b;p=buildroot.git package/ffmpeg: add optional support for libdrm Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- 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