next up previous contents index
Next: Building a shell (and Up: Setting up an initial Previous: Rebuilding the cross compiler   Contents   Index


Building the Linux kernel

Now, we're ready to compile the heart of a Linux distribution: the Linux kernel.

$ cd ../..
$ cd KERNEL/linux
$ make ARCH=sh CROSS_COMPILE=sh4-linux- clean dep zImage modules
$ cd ../..

You wonder, why we don't complete the Linux kernel build with modules_install? The answer is simple: We don't have a target where the modules might go...

So, we round out this build in a later stage, be patient.

From this point, you've got two possibilities to go on. Either, you read on, build a first application and load the whole stuff to your SEGA Dreamcast or, you skip the next sections and go directly to section Building the bootloader.

I suppose most readers want to see the fruits of their work and thus they read on :-)



Christian Berger 2004-10-19