Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Filipe Laíns via arch-general
On Tue, 2020-03-03 at 16:50 +0200, Alexander Kapshuk via arch-general wrote: > You could just do: > make M=block ;to rebuild the part of the kernel modified > make ;to rebuild all other object files affected and to relink the kernel > image > > from the root of your kernel source tree, followed b

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Filipe Laíns via arch-general
On Tue, 2020-03-03 at 14:29 +0100, Pascal via arch-general wrote: > yes, I've just recompiled and this second time was much faster ! > > to be more precise, here is the very small modification made to the > file > mentioned above : > > --- src/linux-5.4.23/block/blk-core.c 2020-02-28 17:22:29.000

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Alexander Kapshuk via arch-general
On Tue, Mar 3, 2020 at 3:30 PM Pascal via arch-general wrote: > > yes, I've just recompiled and this second time was much faster ! > > to be more precise, here is the very small modification made to the file > mentioned above : > > --- src/linux-5.4.23/block/blk-core.c 2020-02-28 17:22:29.

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Eli Schwartz via arch-general
On 3/3/20 8:04 AM, Pascal via arch-general wrote: > no, it's not a bug. > > it's necessary to recompile completely even if the kernel I'm using is the > same as the one I want to apply a small modification on ? It's necessary to recompile *software* completely, even if the one you're using is the

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Caleb Maclennan
On Tue, Mar 3, 2020 at 4:06 PM Pascal via arch-general < arch-general@archlinux.org> wrote: > it's necessary to recompile completely even if the kernel I'm using is the > same as the one I want to apply a small modification on ? > Yes. The only small consolation is that once you compile it once

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Pascal via arch-general
yes, I've just recompiled and this second time was much faster ! to be more precise, here is the very small modification made to the file mentioned above : --- src/linux-5.4.23/block/blk-core.c 2020-02-28 17:22:29.0 +0100 +++ /tmp/blk-core.c 2020-03-03 14:25:56.049803851 +0100 @@ -799,7 +

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread José Luis via arch-general
Check ccache, it may help with recompile time after the first compilation is done.

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Bjoern Franke via arch-general
Am 03.03.20 um 14:04 schrieb Pascal via arch-general: > no, it's not a bug. > > it's necessary to recompile completely even if the kernel I'm using is the > same as the one I want to apply a small modification on ? > You can take a look here: https://wiki.archlinux.org/index.php/Modprobed-db S

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Pascal via arch-general
thank you for these details. regards, lacsaP. Le mar. 3 mars 2020 à 14:10, José Luis via arch-general < arch-general@archlinux.org> a écrit : > Check ccache, it may help with recompile time after the first compilation > is done. >

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Giancarlo Razzolini via arch-general
Em março 3, 2020 10:04 Pascal escreveu: it's necessary to recompile completely even if the kernel I'm using is the same as the one I want to apply a small modification on ? Yes. The wonders of kernel development. Regards, Giancarlo Razzolini pgpPugtAQyGES.pgp Description: PGP signature

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Pascal via arch-general
no, it's not a bug. it's necessary to recompile completely even if the kernel I'm using is the same as the one I want to apply a small modification on ? Le mar. 3 mars 2020 à 14:00, Giancarlo Razzolini a écrit : > Em março 3, 2020 9:54 Pascal via arch-general escreveu: > > hello, > > > > I need

Re: [arch-general] kernel full compilation ?

2020-03-03 Thread Giancarlo Razzolini via arch-general
Em março 3, 2020 9:54 Pascal via arch-general escreveu: hello, I need to introduce a small modification in linux-5.4.23/block/blk-core.o : do I need to recompile completely (~4 hours) or is there a way to shorten the compilation time ? I followed Kernel/Arch_Build_System

[arch-general] kernel full compilation ?

2020-03-03 Thread Pascal via arch-general
hello, I need to introduce a small modification in linux-5.4.23/block/blk-core.o : do I need to recompile completely (~4 hours) or is there a way to shorten the compilation time ? I followed Kernel/Arch_Build_System . regards, lacsaP