public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* defconfigs size reduction?
@ 2008-02-03 12:29 devzero
  2008-02-06 21:13 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: devzero @ 2008-02-03 12:29 UTC (permalink / raw)
  To: linux-kbuild

hi there, 

i found that there are a lot of deconfigs bundled with every kernel-release. (about 335 on my suse box)

summed up, that`s  6,3M and 311 KLOC (Kilo Lines of Configuration :) 

i think, that`s quite a lot.

if i strip the comments ( real comments and "# CONFIGOPT is not set") and the blank lines from that, the size reduces to 1.9M and 86 KLOC.

i have tested such stripping with arch/x86/configs/i386_defconfig and if i do a "make defconfig" afterwards, the .config in /usr/src/linux
has those comments and the blank lines again.

so it appears, that these defconfigs have lot`s of redundant information which could probably be wiped with a bigger cleanup patch.
i`m not sure, if this is a good approach, because others may use the configs in a different way or it may work differently for other arches. 

maybe you experts can give a comment here ?
would such cleanup for shrinking kernelsize be reasonable ?

regards
roland



_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114


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

end of thread, other threads:[~2008-02-06 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-03 12:29 defconfigs size reduction? devzero
2008-02-06 21:13 ` Sam Ravnborg

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