# 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
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
[ "$?" ] || 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}
modules_kext()
{
- if [ "${PAT}" -gt "4" ]
- then
- KEXT=".ko"
- else
- KEXT=".o"
- fi
+ KEXT=".ko"
echo ${KEXT}
}
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