Browse Source

ffmpeg: allow building without yasm

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 8 years ago
parent
commit
1913622d9b
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      multimedia/ffmpeg/Makefile

+ 7
- 2
multimedia/ffmpeg/Makefile View File

@ -282,7 +282,7 @@ $(call Package/ffmpeg/Default)
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE+= libraries TITLE+= libraries
DEPENDS+= @BUILD_PATENTED @!TARGET_x86||YASM +libpthread +zlib +libbz2
DEPENDS+= @BUILD_PATENTED +libpthread +zlib +libbz2
PROVIDES:= libffmpeg PROVIDES:= libffmpeg
endef endef
@ -395,7 +395,6 @@ FFMPEG_CONFIGURE += \
--disable-fma3 \ --disable-fma3 \
--disable-fma4 \ --disable-fma4 \
--disable-avx2 \ --disable-avx2 \
--disable-yasm \
--disable-inline-asm \ --disable-inline-asm \
--disable-mips32r2 \ --disable-mips32r2 \
--disable-mipsdspr1 \ --disable-mipsdspr1 \
@ -409,6 +408,12 @@ FFMPEG_CONFIGURE += \
endif endif
ifneq ($(CONFIG_YASM),y)
FFMPEG_CONFIGURE += \
--disable-yasm
endif
#selectibly disable optimizations according to arch/cpu type #selectibly disable optimizations according to arch/cpu type
ifneq ($(findstring arm,$(CONFIG_ARCH)),) ifneq ($(findstring arm,$(CONFIG_ARCH)),)
ifeq (,$(findstring vfp,$(CONFIG_TARGET_OPTIMIZATION))) ifeq (,$(findstring vfp,$(CONFIG_TARGET_OPTIMIZATION)))


Loading…
Cancel
Save