[xserver-commit] xserver/hw/xizzle/drivers confdrv.sh,1.2,1.3
Daniel Stone
xserver-commit@pdx.freedesktop.org
Committed by: daniel
Update of /cvs/xserver/xserver/hw/xizzle/drivers
In directory pdx:/tmp/cvs-serv30623/drivers
Modified Files:
confdrv.sh
Log Message:
Go a small way to resolving the GetDriverlistFromCompile() snafu. I want this
function dead.
Index: confdrv.sh
===================================================================
RCS file: /cvs/xserver/xserver/hw/xizzle/drivers/confdrv.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/confdrv.sh 25 Jul 1998 16:55:33 -0000 1.2
+++ b/confdrv.sh 9 Mar 2004 13:25:12 -0000 1.3
@@ -18,6 +18,7 @@
extern DriverRec
EOF
+oldArgs=$*
Args="`echo $* | tr '[a-z]' '[A-Z]'`"
set - $Args
while [ $# -gt 1 ]; do
@@ -35,6 +36,16 @@
done
echo "};" >> $DRVCONF
+set - $oldArgs
+cat >> $DRVCONF << EOF
+char *xf86DriverListNames[] =
+{
+EOF
+for i in $oldArgs; do
+ echo " \"$i\"," >> $DRVCONF
+done
+echo "};" >> $DRVCONF
+
cat >> $DRVCONF <<EOF
int xf86NumDrivers = sizeof(xf86DriverList) / sizeof(xf86DriverList[0]);