public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* installing only the newly (re)built modules
@ 2007-01-09  4:29 Alexy Khrabrov
  2007-01-10 21:54 ` Bill Davidsen
  0 siblings, 1 reply; 5+ messages in thread
From: Alexy Khrabrov @ 2007-01-09  4:29 UTC (permalink / raw)
  To: linux-kernel

The 2.6 build system compiles only those modules whose config
changed.  However, the install still installs all modules.

Is there a way to entice make modules_install to install only those
new modules we've actually just changed/built?

Cheers,
Alexy

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: installing only the newly (re)built modules
  2007-01-09  4:29 installing only the newly (re)built modules Alexy Khrabrov
@ 2007-01-10 21:54 ` Bill Davidsen
  2007-01-10 22:02   ` Alexy Khrabrov
  2007-01-11 10:24   ` Tilman Schmidt
  0 siblings, 2 replies; 5+ messages in thread
From: Bill Davidsen @ 2007-01-10 21:54 UTC (permalink / raw)
  To: Alexy Khrabrov, Linux Kernel mailing List

Alexy Khrabrov wrote:
> The 2.6 build system compiles only those modules whose config
> changed.  However, the install still installs all modules.
> 
> Is there a way to entice make modules_install to install only those
> new modules we've actually just changed/built?

Out of curiosity, why? I've noticed this, but the copy runs so fast I 
never really thought about it as an issue.

-- 
bill davidsen <davidsen@tmr.com>
   CTO TMR Associates, Inc
   Doing interesting things with small computers since 1979

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: installing only the newly (re)built modules
  2007-01-10 21:54 ` Bill Davidsen
@ 2007-01-10 22:02   ` Alexy Khrabrov
  2007-01-10 23:05     ` Bill Davidsen
  2007-01-11 10:24   ` Tilman Schmidt
  1 sibling, 1 reply; 5+ messages in thread
From: Alexy Khrabrov @ 2007-01-10 22:02 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Linux Kernel mailing List

Well, fast -- it depends!  :)  My Crusoe tablet, Compaq TC1000, can
use any break it gets...  And generally, the beauty of a make system
is not to do any extra moves.  Since it already knows what to build,
why not let it install just that?

Cheers,
Alexy

On 1/10/07, Bill Davidsen <davidsen@tmr.com> wrote:
> Alexy Khrabrov wrote:
> > The 2.6 build system compiles only those modules whose config
> > changed.  However, the install still installs all modules.
> >
> > Is there a way to entice make modules_install to install only those
> > new modules we've actually just changed/built?
>
> Out of curiosity, why? I've noticed this, but the copy runs so fast I
> never really thought about it as an issue.
>
> --
> bill davidsen <davidsen@tmr.com>
>    CTO TMR Associates, Inc
>    Doing interesting things with small computers since 1979
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: installing only the newly (re)built modules
  2007-01-10 22:02   ` Alexy Khrabrov
@ 2007-01-10 23:05     ` Bill Davidsen
  0 siblings, 0 replies; 5+ messages in thread
From: Bill Davidsen @ 2007-01-10 23:05 UTC (permalink / raw)
  To: Alexy Khrabrov; +Cc: Linux Kernel mailing List

Alexy Khrabrov wrote:
> Well, fast -- it depends!  :)  My Crusoe tablet, Compaq TC1000, can
> use any break it gets...  And generally, the beauty of a make system
> is not to do any extra moves.  Since it already knows what to build,
> why not let it install just that?
The answer just came to me, because you may have deleted creation of a 
module, and make doesn't know how to get it out of the directory. So the 
modules file is rebuilt from zero, rather than put in a lot of logic 
which might result in problems.

Think moving a driver from module to built in, what happens if you 
modprobe the module? Or if you delete a module totally because some 
other module does your hardware better. Think network and sound on that, 
particularly. You do NOT want the old "works-badly" module around ready 
to jump in when something you overlooked loads it.

Just a case of preventing problems all at once rather than trying to be 
clever. I would think building a kernel on that hardware would take 
longer than the useful life of the release. I used to build 1.2.13 on a 
slow machine, and that took days.

In any case you have an answer, it's because being clever is hard.
>
> Cheers,
> Alexy
>
> On 1/10/07, Bill Davidsen <davidsen@tmr.com> wrote:
>> Alexy Khrabrov wrote:
>> > The 2.6 build system compiles only those modules whose config
>> > changed.  However, the install still installs all modules.
>> >
>> > Is there a way to entice make modules_install to install only those
>> > new modules we've actually just changed/built?
>>
>> Out of curiosity, why? I've noticed this, but the copy runs so fast I
>> never really thought about it as an issue.
>>
>> -- 
>> bill davidsen <davidsen@tmr.com>
>>    CTO TMR Associates, Inc
>>    Doing interesting things with small computers since 1979
>>
>


-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: installing only the newly (re)built modules
  2007-01-10 21:54 ` Bill Davidsen
  2007-01-10 22:02   ` Alexy Khrabrov
@ 2007-01-11 10:24   ` Tilman Schmidt
  1 sibling, 0 replies; 5+ messages in thread
From: Tilman Schmidt @ 2007-01-11 10:24 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Linux Kernel mailing List

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

Bill Davidsen schrieb:
> Alexy Khrabrov wrote:
>> The 2.6 build system compiles only those modules whose config
>> changed.  However, the install still installs all modules.
>> 
>> Is there a way to entice make modules_install to install only those
>> new modules we've actually just changed/built?
> 
> Out of curiosity, why? I've noticed this, but the copy runs so fast I 
> never really thought about it as an issue.

Not here. On the 933 MHz P3 machine I use for driver development,
"make modules_install" takes so much time that I always copy my
modules by hand instead after recompiling them.

-- 
Tilman Schmidt                    E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-01-11 10:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-09  4:29 installing only the newly (re)built modules Alexy Khrabrov
2007-01-10 21:54 ` Bill Davidsen
2007-01-10 22:02   ` Alexy Khrabrov
2007-01-10 23:05     ` Bill Davidsen
2007-01-11 10:24   ` Tilman Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox