Skip to content
Browse files

gdev: further minor fixes to autogen.sh

  • Loading branch information...
1 parent 1008090 commit 75262b4865aae4d8c3f76a87c301679129fa03ed Shinpei Kato committed Mar 31, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 common/autogen.sh
View
5 common/autogen.sh
@@ -2,13 +2,10 @@
if [ ! $(lsmod | grep nvidia | wc -l) -eq 0 ] ; then
driver='nvi'
- DRIVER='NVI'
elif [ ! $(lsmod | grep nouveau | wc -l) -eq 0 ] ; then
driver='nouveau'
- DRIVER='NOUVEAU'
elif [ ! $(lsmod | grep pscnv | wc -l) -eq 0 ] ; then
driver='pscnv'
- DRIVER='PSCNV'
else
echo "Device driver not found"
exit
@@ -28,6 +25,8 @@ cat > Driver.mk << EOF
DRIVER_NAME=$driver
EOF
+DRIVER=$(echo $driver | tr "a-z" "A-Z")
+
# create gdev_autogen.h
cat > gdev_autogen.h << EOF
/*

0 comments on commit 75262b4

Please sign in to comment.
Something went wrong with that request. Please try again.