Re: Kernel compilation problem.........
You can also use something like ccache to significantly speed up repeated compilations. But I also believe you can do simply 'make fs' as suggested. -- Regards, Rune V. Sjøen You always pass failure on the way to success On Mon, Dec 21, 2009 at 6:46 PM, Manish Katiyar wrote: > On Mon, Dec 21, 2009 at 11:07 PM, Mulyadi Santosa > wrote: > > Hi... > > > > On Tue, Dec 22, 2009 at 12:10 AM, bajrangi pandey > > wrote: > >> Hi , > >> > >> suppose i am making changes in kernel file fs.h > >> > >> Is it necessary to perform all three steps > >> 1> make > > I think you can just do "make fs" > > >> 2> make modules_install > >> 3> make install > >> to rebuilt the kernel (compiling same kernel version source code 2nd > time)? > >> can i skip step > >> make modules_install > > > > My best guess is yes, you need to do all the above step. The reason is > > to make sure all the related code pick your modification. > > > > You don't need to worry if compilation time is your concern. "make" > > will make sure only .c files that depends on this fs.h that get > > recompiled. So theoritically, it should be done relatively faster. > > > > -- > > regards, > > > > Mulyadi Santosa > > Freelance Linux trainer and consultant > > > > blog: the-hydra.blogspot.com > > training: mulyaditraining.blogspot.com > > > > -- > > To unsubscribe from this list: send an email with > > "unsubscribe kernelnewbies" to ecar...@nl.linux.org > > Please read the FAQ at http://kernelnewbies.org/FAQ > > > > > > > > -- > Thanks - > Manish > == > [$\*.^ -- I miss being one of them > == > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecar...@nl.linux.org > Please read the FAQ at http://kernelnewbies.org/FAQ > >
Re: Kernel compilation problem.........
On Mon, Dec 21, 2009 at 11:07 PM, Mulyadi Santosa wrote: > Hi... > > On Tue, Dec 22, 2009 at 12:10 AM, bajrangi pandey > wrote: >> Hi , >> >> suppose i am making changes in kernel file fs.h >> >> Is it necessary to perform all three steps >> 1> make I think you can just do "make fs" >> 2> make modules_install >> 3> make install >> to rebuilt the kernel (compiling same kernel version source code 2nd time)? >> can i skip step >> make modules_install > > My best guess is yes, you need to do all the above step. The reason is > to make sure all the related code pick your modification. > > You don't need to worry if compilation time is your concern. "make" > will make sure only .c files that depends on this fs.h that get > recompiled. So theoritically, it should be done relatively faster. > > -- > regards, > > Mulyadi Santosa > Freelance Linux trainer and consultant > > blog: the-hydra.blogspot.com > training: mulyaditraining.blogspot.com > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecar...@nl.linux.org > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- Thanks - Manish == [$\*.^ -- I miss being one of them == -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ
Re: Kernel compilation problem.........
Hi... On Tue, Dec 22, 2009 at 12:10 AM, bajrangi pandey wrote: > Hi , > > suppose i am making changes in kernel file fs.h > > Is it necessary to perform all three steps > 1> make > 2> make modules_install > 3> make install > to rebuilt the kernel (compiling same kernel version source code 2nd time)? > can i skip step > make modules_install My best guess is yes, you need to do all the above step. The reason is to make sure all the related code pick your modification. You don't need to worry if compilation time is your concern. "make" will make sure only .c files that depends on this fs.h that get recompiled. So theoritically, it should be done relatively faster. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ
Kernel compilation problem.........
Hi , suppose i am making changes in kernel file fs.h Is it necessary to perform all three steps 1> make 2> make modules_install 3> make install to rebuilt the kernel (compiling same kernel version source code 2nd time)? can i skip step make modules_install I am new to kernelnewbies. Regards, Bajrangi -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ