Re: howt o remake the kernel

From: Stuart Longland
Date: Fri Nov 12 2004 - 16:18:13 EST

Hash: SHA1

M. A. Imam wrote:
> Thanks alot... but i have linux 2.4 would that work? and at what
> level should i run 'make'
> Thanks again.

Normally the process is you run 'make' from the root of the kernel
source tree.

The exact process you use to process a working binary depends on the
architecture you're running. On my main box here (Dual PIII 1GHz), I
use something like:

$ make -j8 bzImage modules

When cross-compilling a kernel for my SGI Indy, I use:
$ make -j8 vmlinux modules CROSS_COMPILE=mips-unknown-linux-gnu-

Similar for my Gateway Microserver (rebadged Cobalt Qube 2):
$ make -j8 vmlinux modules CROSS_COMPILE=mipsel-unknown-linux-gnu-

To the others: What's happening with the Kernel HOWTO? That guide
covered a lot about how to do this...?

Also, remember that you can use the -C argument to make, to tell it to
change directories first... e.g. 'make -C /path/to/kernel/source' will
do what you want without having to manually 'cd' first.
- --
| Stuart Longland -oOo- |
| Atomic Linux Project -oOo- |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| I haven't lost my mind - it's backed up on a tape somewhere |
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at