public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] kconfig: introduce alldefconfig + savedefconfig
@ 2010-07-25 21:38 Sam Ravnborg
  2010-07-25 21:38 ` [PATCH 1/4] kconfig: save location of config symbols Sam Ravnborg
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Sam Ravnborg @ 2010-07-25 21:38 UTC (permalink / raw)
  To: lkml, linux-kbuild, Stephen Rothwell, Roman Zippel, Michal Marek,
	Uwe Kleine-Koig, Linus Torvalds, Sam Ravnborg

After reading some of the mails about the
defconfig files I decided to take a look at kconfig.

We already decided to go for a solution where the defconfig
files contains only the minimal configuration.
Uwe developed a script to assist but having native support
in kconfig is preferable.

This patch set introduce "alldefconfig".
alldefconfig create a configuration with all values set
to default values.
This can be usefull when we check if we do have a sane
set of default values. Rhe config can be inspected
using menuconfig.

The patches also introduce "savedefconfig" which
reads the current configuration and save it
as a minimal configuration.

In my testing I benchmarked it with one
of the arm defconfings and the final result is
the same (symbols appear in different order).

The first two patches is not relevant to the above.
They was just stuff I had pending.


The patches has seen only light testing for now,
and any feedback is welcome.

After finishing off these patches I will take a closer
look at the patch form Stephen that introduce
a more advanced select.

Note: Anyone that have heard from Roman Zippel recently?

The patches:

Roman Zippel (1):
      kconfig: print more info when we see a recursive dependency

Sam Ravnborg (3):
      kconfig: save location of config symbols
      kconfig: add alldefconfig
      kconfig: add savedefconfig


 Documentation/kbuild/kconfig.txt |    2 +-
 scripts/kconfig/Makefile         |   13 ++-
 scripts/kconfig/conf.c           |   46 ++++++--
 scripts/kconfig/confdata.c       |   94 +++++++++++++++
 scripts/kconfig/expr.h           |    1 +
 scripts/kconfig/lkc.h            |    2 +
 scripts/kconfig/lkc_proto.h      |    1 +
 scripts/kconfig/menu.c           |    2 +
 scripts/kconfig/symbol.c         |  242 +++++++++++++++++++++++++++++++++++---
 9 files changed, 373 insertions(+), 30 deletions(-)

	Sam

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

end of thread, other threads:[~2010-07-30 14:50 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-25 21:38 [RFC] kconfig: introduce alldefconfig + savedefconfig Sam Ravnborg
2010-07-25 21:38 ` [PATCH 1/4] kconfig: save location of config symbols Sam Ravnborg
2010-07-25 21:39 ` [PATCH 2/4] kconfig: print more info when we see a recursive dependency Sam Ravnborg
2010-07-25 21:39 ` [PATCH 3/4] kconfig: add alldefconfig Sam Ravnborg
2010-07-25 21:40 ` [PATCH 4/4] kconfig: add savedefconfig Sam Ravnborg
2010-07-27 15:42   ` Michal Marek
2010-07-27 16:50     ` Sam Ravnborg
2010-07-28 20:36     ` [RFC PATCH] kconfig: use long options in conf Sam Ravnborg
2010-07-29  8:13       ` Sam Ravnborg
2010-07-29  8:15         ` [PATCH 1/2] kconfig: rename loose_nonint_oldconfig => oldnoconfig Sam Ravnborg
2010-07-29  8:16         ` [PATCH 2/2] kconfig: change nonint_oldconfig to listnewconfig Sam Ravnborg
2010-07-29  9:23         ` [RFC PATCH] kconfig: use long options in conf Michal Marek
2010-07-29 14:47           ` Aristeu Rozanski
2010-07-29 15:04             ` Michal Marek
2010-07-29 15:16               ` Aristeu Rozanski
2010-07-29 19:34                 ` Sam Ravnborg
2010-07-29 19:50                   ` Aristeu Rozanski
2010-07-29 23:04                     ` Sam Ravnborg
2010-07-30 14:53                       ` Aristeu Rozanski
2010-07-29  9:17       ` Michal Marek
2010-07-29  9:39         ` Sam Ravnborg
2010-07-29 10:08           ` Michal Marek
2010-07-29 14:30             ` Randy Dunlap
2010-07-29 19:29               ` Sam Ravnborg
2010-07-25 22:20 ` [RFC] kconfig: introduce alldefconfig + savedefconfig Sam Ravnborg
2010-07-28  6:47 ` Uwe Kleine-König

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