Remove a few more 2.4 kernel support remnants

cleanup-cruft
agaffney 17 years ago
parent 7db66a23dc
commit 3bec381546

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni
# Distributed under the GPL v2 # 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: 29 Jul 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh, genkernel:
Cleanup remaining references to ${ARCH}/ without arch/ prefix Cleanup remaining references to ${ARCH}/ without arch/ prefix

@ -61,11 +61,8 @@ EOF
echo -e "\tkernel /kernel-${KNAME}-${ARCH}-${KV} root=${GRUB_ROOTFS}" >> ${GRUB_CONF} echo -e "\tkernel /kernel-${KNAME}-${ARCH}-${KV} root=${GRUB_ROOTFS}" >> ${GRUB_CONF}
else else
echo -e "\tkernel /kernel-${KNAME}-${ARCH}-${KV} root=/dev/ram0 init=/linuxrc real_root=${GRUB_ROOTFS}" >> ${GRUB_CONF} 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} echo -e "\tinitrd /initramfs-${KNAME}-${ARCH}-${KV}" >> ${GRUB_CONF}
fi fi
fi
echo >> ${GRUB_CONF} echo >> ${GRUB_CONF}
else else
print_error 1 "Error! ${BOOTDIR}/grub/grub.conf does not exist and the correct settings can not be automatically detected." print_error 1 "Error! ${BOOTDIR}/grub/grub.conf does not exist and the correct settings can not be automatically detected."

@ -64,21 +64,12 @@ config_kernel() {
[ "$?" ] || gen_die 'Error: menuconfig failed!' [ "$?" ] || gen_die 'Error: menuconfig failed!'
elif isTrue ${CMD_GCONFIG} elif isTrue ${CMD_GCONFIG}
then 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...'
CMD_GCONFIG=0
CMD_XCONFIG=1
else
print_info 1 'config: >> Invoking gconfig...' print_info 1 'config: >> Invoking gconfig...'
compile_generic gconfig kernel compile_generic gconfig kernel
[ "$?" ] || gen_die 'Error: gconfig failed!' [ "$?" ] || gen_die 'Error: gconfig failed!'
CMD_XCONFIG=0 CMD_XCONFIG=0
fi fi
fi
if isTrue ${CMD_XCONFIG} if isTrue ${CMD_XCONFIG}
then then

@ -2,12 +2,7 @@
modules_kext() modules_kext()
{ {
if [ "${PAT}" -gt "4" ]
then
KEXT=".ko" KEXT=".ko"
else
KEXT=".o"
fi
echo ${KEXT} echo ${KEXT}
} }

@ -169,9 +169,7 @@ Linker to use for utilities.
GNU Make to use for utilities. GNU Make to use for utilities.
.TP .TP
\fB\-\-makeopts=\fR<makeopts> \fB\-\-makeopts=\fR<makeopts>
GNU Make options such as \fB\-j2\fR, etc. \fB\-j\fRX is filtered during the GNU Make options such as \fB\-j2\fR, etc.
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.
.PP .PP
.BR Initialization .BR Initialization
.TP .TP

Loading…
Cancel
Save