mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -09:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user