[Lunar-commits] r14828 - in moonbase/trunk/kernel: linux-2.4 linux-2.4-agr linux-2.4-grsec linux-2.4-om linux-2.4-stable linux-2.4-vanilla linux-2.6 linux-2.6-ck linux-2.6-cko linux-2.6-grsec linux-2.6-inotify linux-2.6-mm linux-2.6-prepatch

Auke Kok sofar at lunar-linux.org
Thu May 19 08:50:22 UTC 2005


Author: sofar
Date: 2005-05-19 08:50:20 +0000 (Thu, 19 May 2005)
New Revision: 14828

Modified:
   moonbase/trunk/kernel/linux-2.4-agr/BUILD
   moonbase/trunk/kernel/linux-2.4-grsec/BUILD
   moonbase/trunk/kernel/linux-2.4-om/BUILD
   moonbase/trunk/kernel/linux-2.4-stable/BUILD
   moonbase/trunk/kernel/linux-2.4-vanilla/BUILD
   moonbase/trunk/kernel/linux-2.4/BUILD
   moonbase/trunk/kernel/linux-2.6-ck/BUILD
   moonbase/trunk/kernel/linux-2.6-cko/BUILD
   moonbase/trunk/kernel/linux-2.6-grsec/BUILD
   moonbase/trunk/kernel/linux-2.6-inotify/BUILD
   moonbase/trunk/kernel/linux-2.6-mm/BUILD
   moonbase/trunk/kernel/linux-2.6-prepatch/BUILD
   moonbase/trunk/kernel/linux-2.6/BUILD
Log:
And since parallel makes aren't working either now at the moment, this at least looks like decent code.


Modified: moonbase/trunk/kernel/linux-2.4/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.4/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.4/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,14 +25,11 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} dep                         &&
-  make -j${KMAKES} clean                       &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} dep                         &&
+  make ${MAKES:+-j$MAKES} clean                       &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION-$PVERSION          &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.4-agr/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.4-agr/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.4-agr/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,14 +25,11 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} dep                         &&
-  make -j${KMAKES} clean                       &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} dep                         &&
+  make ${MAKES:+-j$MAKES} clean                       &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION-$PVERSION-agr      &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.4-grsec/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.4-grsec/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.4-grsec/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,14 +25,11 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config.grsec
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} dep                         &&
-  make -j${KMAKES} clean                       &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} dep                         &&
+  make ${MAKES:+-j$MAKES} clean                       &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION-$PVERSION-grs      &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.4-om/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.4-om/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.4-om/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,14 +25,11 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config.om
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} dep                         &&
-  make -j${KMAKES} clean                       &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} dep                         &&
+  make ${MAKES:+-j$MAKES} clean                       &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION-$PVERSION-om       &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.4-stable/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.4-stable/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.4-stable/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,14 +25,11 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config.stable
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} dep                         &&
-  make -j${KMAKES} clean                       &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} dep                         &&
+  make ${MAKES:+-j$MAKES} clean                       &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION-$PVERSION-stb      &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.4-vanilla/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.4-vanilla/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.4-vanilla/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,14 +25,11 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config.vanilla
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} dep                         &&
-  make -j${KMAKES} clean                       &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} dep                         &&
+  make ${MAKES:+-j$MAKES} clean                       &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION                    &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.6/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.6/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.6/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,12 +25,9 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION	               &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.6-ck/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.6-ck/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.6-ck/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,12 +25,9 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION	               &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.6-cko/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.6-cko/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.6-cko/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,12 +25,9 @@
   LD_PRELOAD= cp .config $CONFIG_CACHE/.config.2.6.stable
   rm -f arch/i386/boot/bzImage
 
-  # Because parallel make seems not to work, a hack
 
-  optimize_make                                &&
-  KMAKES=${MAKES:=1}                           &&
-  make -j${KMAKES} bzImage                     &&
-  make -j${KMAKES} modules                     &&
+  make ${MAKES:+-j$MAKES} bzImage                     &&
+  make ${MAKES:+-j$MAKES} modules                     &&
   backup_mods_krnl $VERSION	               &&
   prepare_install                              &&
   make modules_install                         &&

Modified: moonbase/trunk/kernel/linux-2.6-grsec/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.6-grsec/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.6-grsec/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,12 +25,9 @@
     LD_PRELOAD= cp .config $CONFIG_CACHE/.config-2.6-grsec
     rm -f arch/i386/boot/bzImage
     
-  # Because parallel make seems not to work, a hack
     
-    optimize_make									&&
-    KMAKES=${MAKES:=1}								&&
-    make -j${KMAKES} bzImage							&&
-    make -j${KMAKES} modules							&&
+    make ${MAKES:+-j$MAKES} bzImage							&&
+    make ${MAKES:+-j$MAKES} modules							&&
     backup_mods_krnl ${KERNEL_VERSION}-grsec-${GRSEC_VERSION}			&&
     prepare_install								&&
     make modules_install								&&

Modified: moonbase/trunk/kernel/linux-2.6-inotify/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.6-inotify/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.6-inotify/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -25,12 +25,9 @@
     cp  .config  $CONFIG_CACHE/.config.2.6.inotify
     rm -f arch/i386/boot/bzImage
 
-   # Because parallel make seems not to work, a hack   
 
-    optimize_make                      &&
-    KMAKES=${MAKES:=1}                 &&
-    make  -j${KMAKES} bzImage          &&
-    make  -j${KMAKES} modules          &&
+    make  ${MAKES:+-j$MAKES} bzImage          &&
+    make  ${MAKES:+-j$MAKES} modules          &&
     backup_mods_krnl linux-${VERSION}  &&
     prepare_install                    &&
     make  modules_install

Modified: moonbase/trunk/kernel/linux-2.6-mm/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.6-mm/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.6-mm/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -24,12 +24,9 @@
     cp  /usr/src/linux/.config  $CONFIG_CACHE/.config-2.6-mm
     rm -f arch/i386/boot/bzImage
     
-   # Because parallel make seems not to work, a hack   
     
-    optimize_make                  &&
-    KMAKES=${MAKES:=1}             &&
-    make  -j${KMAKES} bzImage      &&
-    make  -j${KMAKES} modules      &&
+    make  ${MAKES:+-j$MAKES} bzImage      &&
+    make  ${MAKES:+-j$MAKES} modules      &&
     backup_mods_krnl ${VERSION}    &&
     prepare_install                &&
     make  modules_install          &&

Modified: moonbase/trunk/kernel/linux-2.6-prepatch/BUILD
===================================================================
--- moonbase/trunk/kernel/linux-2.6-prepatch/BUILD	2005-05-19 08:37:48 UTC (rev 14827)
+++ moonbase/trunk/kernel/linux-2.6-prepatch/BUILD	2005-05-19 08:50:20 UTC (rev 14828)
@@ -24,12 +24,9 @@
     cp  /usr/src/linux/.config  $CONFIG_CACHE/.config-2.6-prepatch
     rm -f arch/i386/boot/bzImage
     
-   # Because parallel make seems not to work, a hack   
     
-    optimize_make                  &&
-    KMAKES=${MAKES:=1}             &&
-    make  -j${KMAKES} bzImage      &&
-    make  -j${KMAKES} modules      &&
+    make  ${MAKES:+-j$MAKES} bzImage      &&
+    make  ${MAKES:+-j$MAKES} modules      &&
     backup_mods_krnl ${VERSION}    &&
     prepare_install                &&
     make  modules_install          &&



More information about the Lunar-commits mailing list