mplayer: use BR2_ARM_CPU_ARM* options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2014-10-21 22:26:55 +02:00 committed by Peter Korsgaard
parent f284e4b8b5
commit 6cf975c2fa
2 changed files with 3 additions and 4 deletions

View File

@ -4,8 +4,7 @@ config BR2_PACKAGE_MPLAYER
depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
|| BR2_microblaze || BR2_aarch64 || BR2_nios2)
# Broken support for <ARMv5
depends on !(BR2_arm920t || BR2_arm920t || BR2_arm922t || BR2_fa526 \
|| BR2_strongarm)
depends on !BR2_ARM_CPU_ARMV4
depends on BR2_LARGEFILE
help
MPlayer is a movie player which runs on many systems and supports

View File

@ -105,11 +105,11 @@ MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_XLIB_LIBX11),xlib_libX11)
MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_XLIB_LIBXV),xlib_libXv)
# ARM optimizations
ifeq ($(call qstrip,$(BR2_GCC_TARGET_ARCH)),armv5te)
ifeq ($(BR2_ARM_CPU_ARMV5),y)
MPLAYER_CONF_OPTS += --enable-armv5te
endif
ifeq ($(call qstrip,$(BR2_GCC_TARGET_ARCH)),armv6j)
ifeq ($(BR2_ARM_CPU_ARMV6),y)
MPLAYER_CONF_OPTS += --enable-armv6
endif