aboutsummaryrefslogtreecommitdiff
path: root/package/mpg123
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/mpg123
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/mpg123')
-rw-r--r--package/mpg123/mpg123.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk
index a950813c73..d66592cd70 100644
--- a/package/mpg123/mpg123.mk
+++ b/package/mpg123/mpg123.mk
@@ -22,14 +22,12 @@ ifeq ($(BR2_i386),y)
MPG123_CPU = x86
endif
-ifeq ($(BR2_powerpc),y)
-ifneq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),)
+ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
MPG123_CPU = altivec
endif
ifeq ($(BR2_SOFT_FLOAT),y)
MPG123_CPU = ppc_nofpu
endif
-endif
ifeq ($(BR2_x86_64),y)
MPG123_CPU = x86-64