Skip to contentSkip to conversation

kconfig: Generate prerequisites

DISCUSSION Sam Ravnborg 2 participants 3 messages Nov 8, 2002 – Nov 9, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi,

Quoted 9 lines · Sam Ravnborg

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

#2 lore raw
Quoted 2 lines · Roman Zippel

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