# HG changeset patch # User lu_zero # Date 1209932373 0 # Node ID e82c55f0414972c83615c8712e431b218415f2b9 # Parent e3fd577a957368808e4441e34ac6ce389910c3d1 Build sparc arch specific code using the Makefile diff -r e3fd577a9573 -r e82c55f04149 libswscale/Makefile --- a/libswscale/Makefile Sun May 04 18:28:24 2008 +0000 +++ b/libswscale/Makefile Sun May 04 20:19:33 2008 +0000 @@ -9,6 +9,9 @@ OBJS-$(CONFIG_GPL) += yuv2rgb.o OBJS-$(HAVE_ALTIVEC) += yuv2rgb_altivec.o +OBJS-$(CONFIG_MLIB) += yuv2rgb_mlib.c +OBJS-$(HAVE_VIS) += yuv2rgb_vis.c + ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o HEADERS = swscale.h rgb2rgb.h diff -r e3fd577a9573 -r e82c55f04149 libswscale/yuv2rgb.c --- a/libswscale/yuv2rgb.c Sun May 04 18:28:24 2008 +0000 +++ b/libswscale/yuv2rgb.c Sun May 04 20:19:33 2008 +0000 @@ -39,14 +39,6 @@ #include "swscale.h" #include "swscale_internal.h" -#ifdef HAVE_VIS -#include "yuv2rgb_vis.c" -#endif - -#ifdef CONFIG_MLIB -#include "yuv2rgb_mlib.c" -#endif - #define DITHER1XBPP // only for mmx const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={