comparison configure @ 24514:c71d1dd53a99

prevent some vidix drivers to get compiled on powerpc, they are not intended to work
author ben
date Sat, 15 Sep 2007 17:53:15 +0000
parents 3596519d8568
children 53efefaa5774
comparison
equal deleted inserted replaced
24513:3596519d8568 24514:c71d1dd53a99
4219 _vosrc="$_vosrc vo_cvidix.c" 4219 _vosrc="$_vosrc vo_cvidix.c"
4220 _vomodules="cvidix $_vomodules" 4220 _vomodules="cvidix $_vomodules"
4221 test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 savage sis unichrome" 4221 test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 savage sis unichrome"
4222 test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//` 4222 test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//`
4223 4223
4224 # some vidix drivers are not meant to work on powerpc, discard them
4225 ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/cyberblade//`
4226 ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/sis//`
4227 ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/unichrome//`
4228
4224 for driver in $_vidix_drivers ; do 4229 for driver in $_vidix_drivers ; do
4225 uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'` 4230 uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'`
4226 eval _vidix_drv_${driver}=yes 4231 eval _vidix_drv_${driver}=yes
4227 eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\" 4232 eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\"
4228 done 4233 done