[Buildroot] [PATCH] Disabled altivec optimizations for PPC CPUs lacking it

Peter Korsgaard jacmet at uclibc.org
Fri May 13 10:26:29 UTC 2011


>>>>> "Mike" == Mike Williams <mike at mikebwilliams.com> writes:

 Mike> Signed-off-by: Mike Williams <mike at mikebwilliams.com>
 Mike> ---
 Mike>  package/multimedia/ffmpeg/ffmpeg.mk |    8 ++++++++
 Mike>  1 files changed, 8 insertions(+), 0 deletions(-)

 Mike> diff --git a/package/multimedia/ffmpeg/ffmpeg.mk b/package/multimedia/ffmpeg/ffmpeg.mk
 Mike> index 1e8f09a..e58add4 100644
 Mike> --- a/package/multimedia/ffmpeg/ffmpeg.mk
 Mike> +++ b/package/multimedia/ffmpeg/ffmpeg.mk
 Mike> @@ -142,6 +142,14 @@ endif
 Mike>  ifeq ($(BR2_cortex_a8),y)
 Mike>  FFMPEG_CONF_OPT += --enable-neon
 Mike>  endif
 Mike> +#Set powerpc altivec appropriately
 Mike> +ifeq ($(BR2_powerpc),y)
 Mike> +ifneq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),)

If prefer to use positive logic, E.G. ifeq (...,y) - Committed with that
change, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list