mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
ffmpeg: depends on host-nasm if MMX is enabled
[Peter: slightly reordered] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d0252d7e39
commit
4e20ad196d
@ -123,9 +123,14 @@ else
|
|||||||
FFMPEG_CONF_OPT += --disable-zlib
|
FFMPEG_CONF_OPT += --disable-zlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
||||||
# MMX on is default for x86, disable it for lowly x86-type processors
|
# MMX on is default for x86, disable it for lowly x86-type processors
|
||||||
ifeq ($(BR2_x86_i386)$(BR2_x86_i486)$(BR2_x86_i586)$(BR2_x86_i686)$(BR2_x86_pentiumpro)$(BR2_x86_geode),y)
|
ifeq ($(BR2_x86_i386)$(BR2_x86_i486)$(BR2_x86_i586)$(BR2_x86_i686)$(BR2_x86_pentiumpro)$(BR2_x86_geode),y)
|
||||||
FFMPEG_CONF_OPT += --disable-mmx
|
FFMPEG_CONF_OPT += --disable-mmx
|
||||||
|
else
|
||||||
|
# If it is enabled, nasm is required
|
||||||
|
FFMPEG_DEPENDENCIES += host-nasm
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ARM defaults to v5: clear if less, add extra if more
|
# ARM defaults to v5: clear if less, add extra if more
|
||||||
|
Loading…
x
Reference in New Issue
Block a user