2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-09-11 22:45:08 +02:00
|
|
|
#
|
|
|
|
# opus
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-09-11 22:45:08 +02:00
|
|
|
|
2016-08-20 16:53:02 +02:00
|
|
|
OPUS_VERSION = 1.1.3
|
2012-09-11 22:45:08 +02:00
|
|
|
OPUS_SITE = http://downloads.xiph.org/releases/opus
|
2013-12-06 09:31:53 +01:00
|
|
|
OPUS_LICENSE = BSD-3c
|
|
|
|
OPUS_LICENSE_FILES = COPYING
|
2012-09-11 22:45:08 +02:00
|
|
|
OPUS_INSTALL_STAGING = YES
|
|
|
|
|
2014-02-05 09:14:39 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
OPUS_CONF_OPTS += --enable-fixed-point
|
2012-09-11 22:45:08 +02:00
|
|
|
endif
|
|
|
|
|
2016-07-06 21:41:47 +02:00
|
|
|
# When we're on ARM, but we don't have ARM instructions (only
|
|
|
|
# Thumb-2), disable the usage of assembly as it is not Thumb-ready.
|
|
|
|
ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:)
|
|
|
|
OPUS_CONF_OPTS += --disable-asm
|
|
|
|
endif
|
|
|
|
|
2012-09-11 22:45:08 +02:00
|
|
|
$(eval $(autotools-package))
|