[Lunar-commits] r22374 - moonbase/trunk/kernel/kernel-headers-2.6

Auke Kok sofar at lunar-linux.org
Thu Nov 30 23:30:53 CET 2006


Author: sofar
Date: 2006-11-30 23:30:53 +0100 (Thu, 30 Nov 2006)
New Revision: 22374

Modified:
   moonbase/trunk/kernel/kernel-headers-2.6/BUILD
   moonbase/trunk/kernel/kernel-headers-2.6/DETAILS
Log:
fixed for all arch's to use generic BUILD instead of i386 only


Modified: moonbase/trunk/kernel/kernel-headers-2.6/BUILD
===================================================================
--- moonbase/trunk/kernel/kernel-headers-2.6/BUILD	2006-11-30 22:07:15 UTC (rev 22373)
+++ moonbase/trunk/kernel/kernel-headers-2.6/BUILD	2006-11-30 22:30:53 UTC (rev 22374)
@@ -1,16 +1,17 @@
 (
   cd ${SOURCE_DIRECTORY}/include/ &&
-    
+
   # asm is a special case, since it is arch specific
-  mv asm-i386 asm &&
-    
+  MYARCH="`arch | grep -qw i.86 && echo i386 || arch`" &&
+  mv asm-$MYARCH asm &&
+
   prepare_install &&
 
   for dir in asm linux scsi sound mtd
   do
      cp    -a $dir      /usr/include/
      chown -R root.root /usr/include/$dir
-	
+
      for subdir in `find /usr/include/$dir -type d`
      do
         chmod 755 $subdir
@@ -25,6 +26,6 @@
   # XOrg X11R7 will not build without this
   # Incase of an update: Remove this!
   sed -e 's|__u16|unsigned short|g' -e 's|__u32|unsigned|g' \
-	-i /usr/include/linux/agpgart.h
+    -i /usr/include/linux/agpgart.h
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/kernel/kernel-headers-2.6/DETAILS
===================================================================
--- moonbase/trunk/kernel/kernel-headers-2.6/DETAILS	2006-11-30 22:07:15 UTC (rev 22373)
+++ moonbase/trunk/kernel/kernel-headers-2.6/DETAILS	2006-11-30 22:30:53 UTC (rev 22374)
@@ -10,6 +10,6 @@
            UPDATED=20060224
             SHORT="A set of specially patched 2.6 kernel headers"
 cat << EOF
-A set of specially patched 2.6 kernel headers. 
+A set of specially patched 2.6 kernel headers.
 It is recommended for 2.6.X kernel users, but is not necessary.
-EOF 
+EOF



More information about the Lunar-commits mailing list