linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kconfig: Generate prerequisites
@ 2002-11-08 18:36 Sam Ravnborg
  2002-11-08 21:14 ` Roman Zippel
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2002-11-08 18:36 UTC (permalink / raw)
  To: Roman Zippel; +Cc: linux-kernel

Hi Roman.

During the 2.5.3x versions of the kernel there were a check
that checked all Config.in files, and if anyone were newer than
.config then the user were requested to run make oldconfig.

Could we achieve something similar with kconfig?
The most simple form would be that kconfig when run like "conf -p"
would spit out all Kconfig files used by the current configuration.

Example:
conf -p arch/i386/Kconfig
arch/i386/Kconfig \
net/Kconfig \
drivers/Kconfig

The check could be made in kconfig as well which should speed up
things. No need for make to stat the same file as Kconfig already
have stat'ed. From a speed persepctive I like this version best.

The reason why the check were removed in 2.5.4x was that it took several
seconds on a fresh tree before make started doing something useful.

I do not expect kconfig to be as slow as a find over the full tree with
cold caches.

	Sam

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

* Re: kconfig: Generate prerequisites
  2002-11-08 18:36 kconfig: Generate prerequisites Sam Ravnborg
@ 2002-11-08 21:14 ` Roman Zippel
  2002-11-09  7:56   ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Zippel @ 2002-11-08 21:14 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel

Hi,

On Fri, 8 Nov 2002, Sam Ravnborg wrote:

> Example:
> conf -p arch/i386/Kconfig
> arch/i386/Kconfig \
> net/Kconfig \
> drivers/Kconfig
> 
> The check could be made in kconfig as well which should speed up
> things. No need for make to stat the same file as Kconfig already
> have stat'ed. From a speed persepctive I like this version best.

Did you check ..config.cmd (or .config.cmd in 2.5.47)? :)

bye, Roman


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

* Re: kconfig: Generate prerequisites
  2002-11-08 21:14 ` Roman Zippel
@ 2002-11-09  7:56   ` Sam Ravnborg
  0 siblings, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2002-11-09  7:56 UTC (permalink / raw)
  To: Roman Zippel; +Cc: Sam Ravnborg, linux-kernel

On Fri, Nov 08, 2002 at 10:14:36PM +0100, Roman Zippel wrote:
> Hi,
> Did you check ..config.cmd (or .config.cmd in 2.5.47)? :)
Glad too see it is already done, an the penalty is much lower compared
to the find used in the previous version. Good.

	Sam

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

end of thread, other threads:[~2002-11-09  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-08 18:36 kconfig: Generate prerequisites Sam Ravnborg
2002-11-08 21:14 ` Roman Zippel
2002-11-09  7:56   ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).