[lkml]   [2001]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Compiling kernel
On Wed, 2 May 2001 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. (-:


Anton Altaparmakov <aia21 at> (replace at with @)
Linux NTFS maintainer / WWW:
ICQ: 8561279 / WWW:

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

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