From f29ae0d629d13eee3c98c95bcb7ef6cdf29ddf7a Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Tue, 11 Jul 2017 17:51:15 +0200 Subject: [PATCH] libs/opus: Update to 1.2.1 Update (lib)opus to 1.2.1 Compile without floating point on NEON (ARM) capable hardware to enable performance optimizations. Discussion about this change: https://github.com/openwrt/packages/pull/4574 Signed-off-by: Daniel Engberg --- libs/opus/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libs/opus/Makefile b/libs/opus/Makefile index dc7b38837..894569169 100644 --- a/libs/opus/Makefile +++ b/libs/opus/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=opus -PKG_VERSION:=1.2 +PKG_VERSION:=1.2.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://archive.mozilla.org/pub/opus/ -PKG_HASH:=77db45a87b51578fbc49555ef1b10926179861d854eb2613207dc79d9ec0a9a9 +PKG_HASH:=cfafd339ccd9c5ef8d6ab15d7e1a412c054bf4cb4ecbbbcc78c12ef2def70732 PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=COPYING @@ -45,6 +45,11 @@ ifeq ($(CONFIG_SOFT_FLOAT),y) --enable-fixed-point endif +ifneq ($(findstring neon,$(CONFIG_TARGET_OPTIMIZATION)),) + CONFIGURE_ARGS+= \ + --enable-fixed-point +endif + CPU_ASM_BLACKLIST:=xscale arm926ej-s ifneq ($(findstring $(call qstrip,$(CONFIG_CPU_TYPE)),$(CPU_ASM_BLACKLIST)),)