#!/bin/bash
# Compile kernel, Compile kernel modules, Install kernel in one command
# Source path must be fixed.
# Must have root access.
# Must configure the kernel .config first before proceeding
# version 0.1
# 14 November 2005
# duckz

KERNELSRC=/usr/src/linux # Change to your kernel source path
MAKEPATH=/usr/bin # Change to your make program path

echo Building kernel source from $KERNELSRC  

cd $KERNELSRC

$MAKEPATH/make all ; $MAKEPATH/make modules_install ; $MAKEPATH/make install

