kconfig: Generate prerequisites
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/Kconfigarch/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
Hi,
Quoted 9 lines · Sam Ravnborg
Example:
conf -parch/i386/Kconfigarch/i386/Kconfig\
net/Kconfig \drivers/KconfigThe check could be made in kconfig as well which should speed up things. No need for make to stat the same file as
Kconfigalready 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
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