mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #3129 from dangowrt/ffmpeg-without-yasm
ffmpeg: allow building without yasm
This commit is contained in:
@@ -282,7 +282,7 @@ $(call Package/ffmpeg/Default)
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE+= libraries
|
||||
DEPENDS+= @BUILD_PATENTED @!TARGET_x86||YASM +libpthread +zlib +libbz2
|
||||
DEPENDS+= @BUILD_PATENTED +libpthread +zlib +libbz2
|
||||
PROVIDES:= libffmpeg
|
||||
endef
|
||||
|
||||
@@ -395,7 +395,6 @@ FFMPEG_CONFIGURE += \
|
||||
--disable-fma3 \
|
||||
--disable-fma4 \
|
||||
--disable-avx2 \
|
||||
--disable-yasm \
|
||||
--disable-inline-asm \
|
||||
--disable-mips32r2 \
|
||||
--disable-mipsdspr1 \
|
||||
@@ -409,6 +408,12 @@ FFMPEG_CONFIGURE += \
|
||||
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_YASM),y)
|
||||
FFMPEG_CONFIGURE += \
|
||||
--disable-yasm
|
||||
|
||||
endif
|
||||
|
||||
#selectibly disable optimizations according to arch/cpu type
|
||||
ifneq ($(findstring arm,$(CONFIG_ARCH)),)
|
||||
ifeq (,$(findstring vfp,$(CONFIG_TARGET_OPTIMIZATION)))
|
||||
|
||||
Reference in New Issue
Block a user