summaryrefslogtreecommitdiffstats
path: root/package/mpg123
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-06-02 13:29:11 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-06-02 13:29:11 +0200
commit0d1f4cc5c3234e285667f8e79b59fd1268c4669a (patch)
tree2c68941a3e51230c1a75c3cb404b416e74b71291 /package/mpg123
parent0fbda5b69e488b5655a65b63a849e77574e84ba7 (diff)
downloadbuildroot-0d1f4cc5c3234e285667f8e79b59fd1268c4669a.tar.gz
buildroot-0d1f4cc5c3234e285667f8e79b59fd1268c4669a.zip
mpg123: correct powerpc cpu variant selection
Fixes http://autobuild.buildroot.net/results/d8a/d8af8f991b4429cf06081ddf2f08043861842a50/ ppc_nofpu should (as the name indicates) only be used for powerpc. It is not clear to me if this code works for powerpc64(le) as well, so this is only selected for classic ppc32. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/mpg123')
-rw-r--r--package/mpg123/mpg123.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk
index ac641326a9..712738ea21 100644
--- a/package/mpg123/mpg123.mk
+++ b/package/mpg123/mpg123.mk
@@ -30,12 +30,14 @@ ifeq ($(BR2_i386),y)
MPG123_CPU = x86
endif
+ifeq ($(BR2_powerpc),y)
ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
MPG123_CPU = altivec
endif
ifeq ($(BR2_SOFT_FLOAT),y)
MPG123_CPU = ppc_nofpu
endif
+endif # powerpc
ifeq ($(BR2_x86_64),y)
MPG123_CPU = x86-64
OpenPOWER on IntegriCloud