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
# 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

@ -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

@ -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}

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

@ -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

Loading…
Cancel
Save