[Lunar-commits] CVS: moonbase/x11/fglrx BUILD,1.1,1.2

Jan Eidtmann cmak at lunar-linux.org
Sun May 9 16:09:47 GMT 2004


Update of /var/cvs/lunar/moonbase/x11/fglrx
In directory dbguin.lunar-linux.org:/tmp/cvs-serv4711

Modified Files:
	BUILD 
Log Message:
add kernel 2.6.x compat.

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/x11/fglrx/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD	6 May 2004 13:26:54 -0000	1.1
+++ BUILD	9 May 2004 16:09:45 -0000	1.2
@@ -3,8 +3,12 @@
   if uname -a | grep -q SMP ; then
     SMP="-SMP"
   fi
-  KMOD=fglrx.$(uname -r)${SMP}.o
-  NMOD=fglrx.o
+  if ls /usr/src/linux -l | grep -q 2.6 ; then
+    unset K
+    K=k
+  fi
+  KMOD=fglrx.$(uname -r)${SMP}.${K}o
+  NMOD=fglrx.${K}o
 
   chown -R root:root . &&
   find . -type d -exec chmod 755 {} \; &&



More information about the Lunar-commits mailing list