From: Joseph Kogut Date: Wed, 9 Dec 2020 20:57:51 +0000 (-0800) Subject: package/ffmpeg: enable libv4l2 when selected X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11a9810a54edeb64dec219c2190583eca07c4299;p=buildroot.git package/ffmpeg: enable libv4l2 when selected Signed-off-by: Joseph Kogut Signed-off-by: Peter Korsgaard --- diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 6b7437411c..fd4a8ab1c4 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -84,6 +84,13 @@ else FFMPEG_CONF_OPTS += --disable-ffplay endif +ifeq ($(BR2_PACKAGE_LIBV4L),y) +FFMPEG_DEPENDENCIES += libv4l +FFMPEG_CONF_OPTS += --enable-libv4l2 +else +FFMPEG_CONF_OPTS += --disable-libv4l2 +endif + ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y) FFMPEG_CONF_OPTS += --enable-avresample else