2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-12-04 00:02:01 +01:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# tremor
|
2009-12-04 00:02:01 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-12-04 00:02:01 +01:00
|
|
|
|
2014-07-31 10:46:58 +02:00
|
|
|
TREMOR_SITE = http://svn.xiph.org/trunk/Tremor
|
2012-01-25 14:33:13 +01:00
|
|
|
TREMOR_SITE_METHOD = svn
|
2016-01-09 13:43:27 +01:00
|
|
|
TREMOR_VERSION = 19427
|
2017-03-30 15:43:38 +02:00
|
|
|
TREMOR_LICENSE = BSD-3-Clause
|
2013-10-02 00:02:27 +02:00
|
|
|
TREMOR_LICENSE_FILES = COPYING
|
2010-09-02 12:09:48 +02:00
|
|
|
|
2009-12-04 00:02:01 +01:00
|
|
|
TREMOR_AUTORECONF = YES
|
|
|
|
TREMOR_INSTALL_STAGING = YES
|
2012-01-25 14:33:13 +01:00
|
|
|
TREMOR_DEPENDENCIES = libogg
|
2009-12-04 00:02:01 +01:00
|
|
|
|
2012-11-10 13:43:01 +01:00
|
|
|
# tremor has ARM assembly code that cannot be compiled in Thumb2 mode,
|
|
|
|
# so we must force the traditional ARM mode.
|
2016-11-15 21:46:58 +01:00
|
|
|
# However, some ARM architectures like ARNv7-M only supports Thumb
|
|
|
|
# instructions, but the tremor build configuration enables ARM assembly
|
|
|
|
# code unconditionally for all arm triplets by defining _ARM_ASSEM_.
|
|
|
|
# We are overriding this by undefining this macro for the ARM
|
|
|
|
# architectures not supporting ARM instructions.
|
2012-11-10 13:43:01 +01:00
|
|
|
ifeq ($(BR2_arm),y)
|
2016-11-15 21:46:58 +01:00
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_ARM),y)
|
|
|
|
TREMOR_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -marm"
|
|
|
|
else
|
|
|
|
TREMOR_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -U_ARM_ASSEM_"
|
|
|
|
endif
|
2012-11-10 13:43:01 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|