mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
libevas: forcibly disable cpu optimization options if not applicable
Otherwise the configure script will automatically enable them for potentially compatible targets. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a4e27b1160
commit
a52db793e9
@ -103,19 +103,28 @@ LIBEVAS_CONF_OPT += --enable-cpu-sse
|
|||||||
|
|
||||||
ifneq ($(BR2_x86_pentium3)$(BR2_x86_pentium4)$(BR2_x86_prescott)$(BR2_x86_athlon_4)$(BR2_x86_opteron)$(BR2_x86_c32)$(BR2_x86_64_opteron),y)
|
ifneq ($(BR2_x86_pentium3)$(BR2_x86_pentium4)$(BR2_x86_prescott)$(BR2_x86_athlon_4)$(BR2_x86_opteron)$(BR2_x86_c32)$(BR2_x86_64_opteron),y)
|
||||||
LIBEVAS_CONF_OPT += --enable-cpu-sse3
|
LIBEVAS_CONF_OPT += --enable-cpu-sse3
|
||||||
|
else
|
||||||
|
LIBEVAS_CONF_OPT += --disable-cpu-sse3
|
||||||
endif # sse3
|
endif # sse3
|
||||||
|
else
|
||||||
|
LIBEVAS_CONF_OPT += --disable-cpu-sse
|
||||||
endif # sse
|
endif # sse
|
||||||
|
else
|
||||||
|
LIBEVAS_CONF_OPT += --disable-cpu-mmx
|
||||||
endif # mmx
|
endif # mmx
|
||||||
endif # x86
|
endif # x86
|
||||||
|
|
||||||
ifeq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),y)
|
ifeq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),y)
|
||||||
LIBEVAS_CONF_OPT += --enable-cpu-altivec
|
LIBEVAS_CONF_OPT += --enable-cpu-altivec
|
||||||
|
else
|
||||||
|
LIBEVAS_CONF_OPT += --disable-cpu-altivec
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_cortex_a8)$(BR2_cortex_a9),y)
|
ifeq ($(BR2_cortex_a8)$(BR2_cortex_a9),y)
|
||||||
# NEON is optional for A9
|
# NEON is optional for A9
|
||||||
LIBEVAS_CONF_OPT += --enable-cpu-neon
|
LIBEVAS_CONF_OPT += --enable-cpu-neon
|
||||||
|
else
|
||||||
|
LIBEVAS_CONF_OPT += --disable-cpu-neon
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# loaders
|
# loaders
|
||||||
|
Loading…
x
Reference in New Issue
Block a user