Hi,
I am new to linux. i am working on my thesis... i have made some changes to
net/ipv4/tcp.c now i need to remake my kernel. right?
what steps should i follow to make my kernel as quickly as possible.
thanks...
Imam
Hello Imam,
On Fri 12 Nov 2004 12:17 PM, M. A. Imam wrote:
> I am new to linux. i am working on my thesis... i have made some changes to
> net/ipv4/tcp.c now i need to remake my kernel. right?
If you are running Linux 2.6, you only need to run `make` again. The Linux
build-script will detect the changes, because of a changed timestamp.
Yours,
--
Ed Schouten <[email protected]>
Website: http://g-rave.nl/
GPG key: finger [email protected]
Thanks alot... but i have linux 2.4 would that work? and at what directory
level should i run 'make'
Thanks again.
Imam
>===== Original Message From Ed Schouten <[email protected]> =====
>Hello Imam,
>
>On Fri 12 Nov 2004 12:17 PM, M. A. Imam wrote:
>> I am new to linux. i am working on my thesis... i have made some changes to
>> net/ipv4/tcp.c now i need to remake my kernel. right?
>
>If you are running Linux 2.6, you only need to run `make` again. The Linux
>build-script will detect the changes, because of a changed timestamp.
>
>Yours,
>--
> Ed Schouten <[email protected]>
> Website: http://g-rave.nl/
> GPG key: finger [email protected]
>
>--K8nIJk4ghYZn606h
>Content-Type: application/pgp-signature
>Content-Disposition: inline
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.6 (GNU/Linux)
>
>iD8DBQFBlQwIyx16ydahrz4RAhEFAKDKXO8m8Aprh+Oqv9h0yOSpN2GfKQCgi5oV
>Hk1NKIBo1auckHICXe687iQ7nT
>-----END PGP SIGNATURE-----
>
>--K8nIJk4ghYZn606h--
-----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-----