mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
ffmpeg: enable or disable debug based on BR2_ENABLE_DEBUG
Rather than hard-code --disable-debug, selectively enable or disable based on BR2_ENABLE_DEBUG. (Similar to gst1-libav.) [Thomas: do not make other changes such as reformatting the --prefix=/usr line.] Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
255aab75fc
commit
ca57e88552
@ -19,7 +19,6 @@ endif
|
|||||||
FFMPEG_CONF_OPT = \
|
FFMPEG_CONF_OPT = \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-avfilter \
|
--enable-avfilter \
|
||||||
--disable-debug \
|
|
||||||
--disable-version3 \
|
--disable-version3 \
|
||||||
--enable-logging \
|
--enable-logging \
|
||||||
--enable-optimizations \
|
--enable-optimizations \
|
||||||
@ -67,6 +66,12 @@ FFMPEG_CONF_OPT = \
|
|||||||
|
|
||||||
FFMPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
FFMPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||||
|
|
||||||
|
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||||
|
FFMPEG_CONF_OPT += --enable-debug
|
||||||
|
else
|
||||||
|
FFMPEG_CONF_OPT += --disable-debug
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y)
|
ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y)
|
||||||
FFMPEG_CONF_OPT += --enable-gpl
|
FFMPEG_CONF_OPT += --enable-gpl
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user