mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
speex: automate selection of arm specific optimizations
ARM version info according to wikipedia, hopefully I got it all correct.
This commit is contained in:
parent
28b2a5bd7e
commit
46d6d83273
@ -8,10 +8,18 @@ config BR2_PACKAGE_SPEEX
|
|||||||
|
|
||||||
http://www.speex.org/
|
http://www.speex.org/
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SPEEX_ARM_GENERIC
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
depends on BR2_PACKAGE_SPEEX && (BR2_generic_arm || BR2_arm610 || BR2_arm710)
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SPEEX_ARM4
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
depends on BR2_PACKAGE_SPEEX && (BR2_arm7tdmi || BR2_arm720t || BR2_arm920t || BR2_arm922t || BR2_sa110 || BR2_sa1100)
|
||||||
|
|
||||||
config BR2_PACKAGE_SPEEX_ARM5E
|
config BR2_PACKAGE_SPEEX_ARM5E
|
||||||
bool "Support ARM5E instruction set"
|
|
||||||
default y
|
default y
|
||||||
depends on BR2_PACKAGE_SPEEX && BR2_arm
|
bool
|
||||||
help
|
depends on BR2_PACKAGE_SPEEX && BR2_arm && !(BR2_PACKAGE_SPEEX_ARM_GENERIC || BR2_PACKAGE_SPEEX_ARM4)
|
||||||
Use the additional instructions available in the ARM5E
|
|
||||||
or later cores.
|
|
||||||
|
@ -14,6 +14,10 @@ SPEEX_DEPENDENCIES = libogg
|
|||||||
SPEEX_CONF_OPT = --with-ogg-libraries=$(STAGING_DIR)/usr/lib --with-ogg-includes=$(STAGING_DIR)/usr/include \
|
SPEEX_CONF_OPT = --with-ogg-libraries=$(STAGING_DIR)/usr/lib --with-ogg-includes=$(STAGING_DIR)/usr/include \
|
||||||
--disable-static --enable-fixed-point $(DISABLE_NLS)
|
--disable-static --enable-fixed-point $(DISABLE_NLS)
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y)
|
||||||
|
SPEEX_CONF_OPT += --enable-arm4-asm
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SPEEX_ARM5E),y)
|
ifeq ($(BR2_PACKAGE_SPEEX_ARM5E),y)
|
||||||
SPEEX_CONF_OPT += --enable-arm5e-asm
|
SPEEX_CONF_OPT += --enable-arm5e-asm
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user