aboutsummaryrefslogtreecommitdiff
path: root/package/vlc/vlc.mk
diff options
context:
space:
mode:
authorGravatar Cody P Schafer <cody@linux.vnet.ibm.com>2014-05-12 22:28:17 -0700
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-26 21:14:08 +0200
commit40e58dab0cc2de728c1363b4aa14c252559c93db (patch)
tree5b9b8fcd207d5df355455d5973cdf0ca6e734c28 /package/vlc/vlc.mk
parentb4c824562bb120796ff0f5b90ebd7233929a3ffa (diff)
downloadbuildroot-40e58dab0cc2de728c1363b4aa14c252559c93db.tar.gz
buildroot-40e58dab0cc2de728c1363b4aa14c252559c93db.tar.bz2
powerpc: add BR2_POWERPC_CPU_HAS_ALTIVEC to replace adhoc deps/checks
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/vlc/vlc.mk')
-rw-r--r--package/vlc/vlc.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index e14c9c3d4a..6eb7eead9b 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -49,8 +49,7 @@ ifeq ($(BR2_PREFER_STATIC_LIB),)
VLC_CONF_OPT += --disable-static
endif
-# Set powerpc altivec appropriately
-ifeq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),y)
+ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
VCL_CONF_OPT += --enable-altivec
else
VLC_CONF_OPT += --disable-altivec