Remove a few more 2.4 kernel support remnants
authoragaffney <agaffney@kagome.(none)>
Tue, 29 Jul 2008 02:31:46 +0000 (21:31 -0500)
committeragaffney <agaffney@kagome.(none)>
Tue, 29 Jul 2008 02:31:46 +0000 (21:31 -0500)
ChangeLog
gen_bootloader.sh
gen_configkernel.sh
gen_moddeps.sh
genkernel.8

index 3ad628af23ce9718d3bba48c1aed92bb01f1ed96..9780d05d1309d38462318bd664bd33e86acf975b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni
 # Distributed under the GPL v2
 
+  29 Jul 2008; Andrew Gaffney <agaffney@gentoo.org> gen_bootloader.sh,
+  gen_configkernel.sh, gen_moddeps.sh, genkernel.8:
+  Remove a few more 2.4 kernel support remnants
+
   29 Jul 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh, genkernel:
   Cleanup remaining references to ${ARCH}/ without arch/ prefix
 
index 17ec15e8e13982e43a91eacd381615df932f3e05..5e3291c52975173d4b47c0da2a2dd6511ae28d22 100644 (file)
@@ -61,10 +61,7 @@ EOF
                                echo -e "\tkernel /kernel-${KNAME}-${ARCH}-${KV} root=${GRUB_ROOTFS}" >> ${GRUB_CONF}
                        else
                                echo -e "\tkernel /kernel-${KNAME}-${ARCH}-${KV} root=/dev/ram0 init=/linuxrc real_root=${GRUB_ROOTFS}" >> ${GRUB_CONF}
-                               if [ "${PAT}" -gt '4' ]
-                               then
-                                   echo -e "\tinitrd /initramfs-${KNAME}-${ARCH}-${KV}" >> ${GRUB_CONF}
-                               fi
+                           echo -e "\tinitrd /initramfs-${KNAME}-${ARCH}-${KV}" >> ${GRUB_CONF}
                        fi
                        echo >> ${GRUB_CONF}
                else
index 278fc499ea562e1ab5f9b85daaf164e79c4b7dee..053bd4a3a9f54b56d2be0f4fb7005669fcb5f662 100644 (file)
@@ -64,20 +64,11 @@ config_kernel() {
                [ "$?" ] || gen_die 'Error: menuconfig failed!'
        elif isTrue ${CMD_GCONFIG}
        then
-               if [ "${VER}" == '2' ] && [ "${PAT}" -lt '6' ]
-               then
-                       print_warning 1 'config: gconfig is not available in 2.4 series kernels. Running xconfig'
-                       print_warning 1 '        instead...'
+               print_info 1 'config: >> Invoking gconfig...'
+               compile_generic gconfig kernel
+               [ "$?" ] || gen_die 'Error: gconfig failed!'
 
-                       CMD_GCONFIG=0
-                       CMD_XCONFIG=1
-               else
-                       print_info 1 'config: >> Invoking gconfig...'
-                       compile_generic gconfig kernel
-                       [ "$?" ] || gen_die 'Error: gconfig failed!'
-
-                       CMD_XCONFIG=0
-               fi
+               CMD_XCONFIG=0
        fi
 
        if isTrue ${CMD_XCONFIG}
index 97216d0d2b7953f8e1963e0cc8b9d2e73f57c6b1..caf60f2ad9d0af6e7fe549350b1d9ae74716f7e9 100644 (file)
@@ -2,12 +2,7 @@
 
 modules_kext()
 {
-       if [ "${PAT}" -gt "4" ]
-       then
-               KEXT=".ko"
-       else
-               KEXT=".o"
-       fi
+       KEXT=".ko"
        echo ${KEXT}
 }
 
index 02d68b7571313bb943fcb753c9653758e61de173..e07f7bb2a21878bc13f0eb0485f3b84983f8b606 100644 (file)
@@ -169,9 +169,7 @@ Linker to use for utilities.
 GNU Make to use for utilities.
 .TP
 \fB\-\-makeopts=\fR<makeopts>
-GNU Make options such as \fB\-j2\fR, etc. \fB\-j\fRX is filtered during the
-module compilation stage of 2.4 series kernels to avoid bottlenecks; the
-2.6 build system does not have this issue and \fB\-j\fRX is not filtered for it.
+GNU Make options such as \fB\-j2\fR, etc.
 .PP
 .BR Initialization
 .TP