Messages in this thread | | | Date | Sat, 13 Nov 2004 07:14:23 +1000 | From | Stuart Longland <> | Subject | Re: howt o remake the kernel |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
M. A. Imam wrote: > Thanks alot... but i have linux 2.4 would that work? and at what directory > 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- http://stuartl.longlandclan.hopto.org | | Atomic Linux Project -oOo- http://atomicl.berlios.de | | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | | I haven't lost my mind - it's backed up on a tape somewhere | +-------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBlSevuarJ1mMmSrkRAoFXAJwLO8uvfzds7ClcAzyrzUIwF8P1bwCfXG01 XDUlXzPr723W7RO3C0+soNs= =gQcS -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |