comparison configure @ 24794:300dd571ba64

Certain VIDIX drivers only work on x86, disable for other arches. This patch was coproduced by Reimar, Andrea Menucci and myself.
author diego
date Sat, 20 Oct 2007 22:19:38 +0000
parents a77d2ba096f0
children 2c790baff42c
comparison
equal deleted inserted replaced
24793:a77d2ba096f0 24794:300dd571ba64
4234 _vosrc="$_vosrc vo_cvidix.c" 4234 _vosrc="$_vosrc vo_cvidix.c"
4235 _vomodules="cvidix $_vomodules" 4235 _vomodules="cvidix $_vomodules"
4236 test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 savage sis unichrome" 4236 test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 savage sis unichrome"
4237 test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//` 4237 test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//`
4238 4238
4239 # some vidix drivers are not meant to work on powerpc, discard them 4239 # some vidix drivers are meant to work on x86 only, discard them elsewhere
4240 ppc && _vidix_drivers=`echo $_vidix_drivers | sed -e s/cyberblade// -e s/sis// -e s/unichrome//` 4240 x86 || _vidix_drivers=`echo $_vidix_drivers | sed -e s/cyberblade// -e s/sis// -e s/unichrome//`
4241 4241
4242 for driver in $_vidix_drivers ; do 4242 for driver in $_vidix_drivers ; do
4243 uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'` 4243 uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'`
4244 eval _vidix_drv_${driver}=yes 4244 eval _vidix_drv_${driver}=yes
4245 eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\" 4245 eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\"