1 ################################################################################
5 ################################################################################
7 VO_AACENC_VERSION = 0.1.3
8 VO_AACENC_SITE = http://downloads.sourceforge.net/project/opencore-amr/vo-aacenc
9 VO_AACENC_LICENSE = Apache-2.0
10 VO_AACENC_LICENSE_FILES = COPYING
11 VO_AACENC_INSTALL_STAGING = YES
13 VO_AACENC_CFLAGS = $(TARGET_CFLAGS)
15 # arm specific asm optimizations
18 # vo-aacenc has ARM assembly code that cannot be compiled in Thumb2
19 # mode, so we must force the traditional ARM mode.
20 VO_AACENC_CFLAGS += -marm
22 ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
23 VO_AACENC_CONF_OPTS += --enable-armv7neon
24 # mfpu=neon needed to assemble neon code
25 VO_AACENC_CFLAGS += -mfpu=neon
27 VO_AACENC_CONF_OPTS += --disable-armv7neon
29 ifeq ($(BR2_ARM_CPU_ARMV4),)
30 VO_AACENC_CONF_OPTS += --enable-armv5e
32 VO_AACENC_CONF_OPTS += --disable-armv5e
38 VO_AACENC_CONF_ENV = \
39 CFLAGS="$(VO_AACENC_CFLAGS)"
41 $(eval $(autotools-package))