kumquat-buildroot/package/vo-aacenc/vo-aacenc.mk
Gustavo Zacarias befab216a2 arch/arm: drop ARM(7TDMI/720T/740T) support
The toolchain currently doesn't build for nommu ARM and is in need of
serious work.
Problem is there are no emulation targets and real ARM(7TDMI/720T/740T)
hardware that's capable of running linux (enough memory, having a
memory controller...) is VERY rare and uses very old versions to
make it usable.

The ARM nommu focus should go into Cortex M series processors that are
obtainable at reasonable cost on modern hardware that has external
memory controllers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 16:53:49 +02:00

42 lines
1.1 KiB
Makefile

################################################################################
#
# vo-aacenc
#
################################################################################
VO_AACENC_VERSION = 0.1.3
VO_AACENC_SITE = http://downloads.sourceforge.net/project/opencore-amr/vo-aacenc
VO_AACENC_LICENSE = Apache-2.0
VO_AACENC_LICENSE_FILES = COPYING
VO_AACENC_INSTALL_STAGING = YES
VO_AACENC_CFLAGS = $(TARGET_CFLAGS)
# arm specific asm optimizations
ifeq ($(BR2_arm),y)
# vo-aacenc has ARM assembly code that cannot be compiled in Thumb2
# mode, so we must force the traditional ARM mode.
VO_AACENC_CFLAGS += -marm
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
VO_AACENC_CONF_OPT += --enable-armv7neon
# mfpu=neon needed to assemble neon code
VO_AACENC_CFLAGS += -mfpu=neon
else
VO_AACENC_CONF_OPT += --disable-armv7neon
ifeq ($(BR2_arm920t)$(BR2_arm922t)$(BR2_strongarm)$(BR2_fa526),)
VO_AACENC_CONF_OPT += --enable-armv5e
else
VO_AACENC_CONF_OPT += --disable-armv5e
endif
endif # !neon
endif # arm
VO_AACENC_CONF_ENV = \
CFLAGS="$(VO_AACENC_CFLAGS)"
$(eval $(autotools-package))