As I've compiled the kernel so many times and wanted to keep all the output of the make commands and make it more comfortable for newcomers I've written a script that does all the things AFTER make xconfig as secure as I could get it. I would be happy if people improve it, send me feedback or simply use it.
You can download it from ftp://ftp.cs.tu-berlin.de/pub/linux/incoming/mkkrl It is doing the following: ######## scan parameters ######## introduce what will be done ######## make sure BOOTFILE has an absolute path ######## get kernel version from Makefile in the source directory ######## prepare directory names ######## get current kernel image ######## print all parameters that will be used ######## confirm the given parameters ######## analyse current boot system ######## prepare the directories that will be used ######## move to kernel directory ######## make dep ######## make clean ######## make image ######## make modules ######## abort if install not set ######## backup old modules ######## install new modules ######## move BOOTFILE.old to backup dir ######## move BOOTFILE to BOOTFILE.old ######## install new kernel image to BOOTFILE if a regular file ######## backup current kernel image of this version ######## install new kernel image ######## relinking BOOTFILE ######## relinking BOOTFILE.old if necessary ######## print advice and takes the following parameters: mkkrl Version 1.03 Usage: mkkrl [-s SOURCE][-i IMAGE][-l LOG][-u][-k BACKUP][-o BOOT][-b][-m][-n][-c] mkkrl -h -s : set kernel source directory to SOURCE default: /usr/src/linux -i : set image directory to IMAGE default: /usr/src/linux/arch/i386/boot -l : set directory for log files to LOG default: /var/tmp/mkkrl -u : set directory for backups to LOG (default) -k : set directory for backups to BACKUP -o : set link/file of the boot kernel to BOOT -c : clean up log and backup directory -b : set image type to bzImage (default:zImage) -m : remove old modules after backup from /lib/modules -n : don't install kernel image and modules, only compile -h : print this message Bye, Steffen