summaryrefslogtreecommitdiffstats
path: root/package/speex/speex.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-08-17 13:46:42 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-08-17 13:46:42 +0000
commit46d6d83273e47872cf41b314a9c1c4d01ff42056 (patch)
tree395f304b49c863153df72feb41f60b9132e002e0 /package/speex/speex.mk
parent28b2a5bd7e504d458e72788cecaa6e57ba89d4de (diff)
downloadbuildroot-novena-46d6d83273e47872cf41b314a9c1c4d01ff42056.tar.gz
buildroot-novena-46d6d83273e47872cf41b314a9c1c4d01ff42056.zip
speex: automate selection of arm specific optimizations
ARM version info according to wikipedia, hopefully I got it all correct.
Diffstat (limited to 'package/speex/speex.mk')
-rw-r--r--package/speex/speex.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/speex/speex.mk b/package/speex/speex.mk
index 4aabe8bc6..51d382fa3 100644
--- a/package/speex/speex.mk
+++ b/package/speex/speex.mk
@@ -14,6 +14,10 @@ SPEEX_DEPENDENCIES = libogg
SPEEX_CONF_OPT = --with-ogg-libraries=$(STAGING_DIR)/usr/lib --with-ogg-includes=$(STAGING_DIR)/usr/include \
--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)
SPEEX_CONF_OPT += --enable-arm5e-asm
endif