comparison configure @ 26145:0e912f122387

Disable S3 VIDIX driver on non-x86 platforms.
author diego
date Thu, 06 Mar 2008 00:42:24 +0000
parents d3ebf0c72e28
children 3ba245a1febf
comparison
equal deleted inserted replaced
26144:d3ebf0c72e28 26145:0e912f122387
4279 _vomodules="cvidix $_vomodules" 4279 _vomodules="cvidix $_vomodules"
4280 test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 s3 sis unichrome" 4280 test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 s3 sis unichrome"
4281 test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//` 4281 test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//`
4282 4282
4283 # some vidix drivers are meant to work on x86 only, discard them elsewhere 4283 # some vidix drivers are meant to work on x86 only, discard them elsewhere
4284 x86 || _vidix_drivers=`echo $_vidix_drivers | sed -e s/cyberblade// -e s/sis// -e s/unichrome//` 4284 x86 || _vidix_drivers=`echo $_vidix_drivers | sed -e s/cyberblade// -e s/sis// -e s/unichrome// -e s/s3//`
4285 4285
4286 for driver in $_vidix_drivers ; do 4286 for driver in $_vidix_drivers ; do
4287 uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'` 4287 uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'`
4288 eval _vidix_drv_${driver}=yes 4288 eval _vidix_drv_${driver}=yes
4289 eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\" 4289 eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\"