lkml.org 
[lkml]   [2001]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Compiling kernel
On Wed, 2 May 2001 alad@hss.hns.com wrote:
> The question may sound very stupid... But I have following doubt.
>
> suppose I am making some change in sched.c and now I want to build my kernel
> that reflects the change..
> Is there any way I can avoid answering all the questions when I do make zImage ?
>
> In short how should I compile the kernel (in very small time) to see my changes.

Assuming you have already configured your kernel and previously compiled
it then no questions should be asked. - The way I work is to do make
bzImage, try it, modify. make bzImage, try, etc... No questions asked.

If you did an accidental make mrproper or make clean in between then make
a copy of you old .config (I keep mine in /usr/src/my2.4.4config for
example so I would do from /usr/src/linux: cp ../my2.4.4config .config)
then run make oldconfig

followed by make dep && make bzImage

In future don't do a make mrproper or clean for that matter. All modified
files are automatically recompiled while non-modified ones are taken from
old compile. - This saves incredible amounts of time when using a Pentium
133 for development...

> Thanks (for not flaming me)

You are welcome. (-:

HTH,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS maintainer / WWW: http://sourceforge.net/projects/linux-ntfs/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.066 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site