kumquat-buildroot/package/opus/opus.mk
Sven Neumann 38bab3635a opus: allow to select fixed-point implementation
The default of choosing the fixed-point implementation if
the target hardware does not have floating-point unit is not
always the best choice. Modern ARM hardware has floating
point support but most likely the fixed-point implementation
in Opus will still perform better. In particular if your CPU
supports the NEON extension.

This commit allows to select the fixed-point implementation
manually and sets the default based on the availability of
a floating-point unit.

[Peter: force option for sw float, slightly reword]
Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-05 09:34:01 +01:00

20 lines
491 B
Makefile

################################################################################
#
# opus
#
################################################################################
OPUS_VERSION = 1.1
OPUS_SITE = http://downloads.xiph.org/releases/opus
OPUS_LICENSE = BSD-3c
OPUS_LICENSE_FILES = COPYING
OPUS_INSTALL_STAGING = YES
OPUS_CONF_OPT = --disable-doc
OPUS_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y)
OPUS_CONF_OPT += --enable-fixed-point
endif
$(eval $(autotools-package))