Skip to content

Commit

Permalink
kconfig: introduce specialized printer
Browse files Browse the repository at this point in the history
Make conf_write_symbol() grammar agnostic to be able to use it from different
code path. These path pass a printer callback which will print a symbol's name
and its value in different format.

conf_write_symbol()'s job become mostly only to prepare a string for the
printer. This avoid to have to pass specialized flag to generic
functions

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
[mmarek: rebased on top of de12518 (kconfig: autogenerated config_is_xxx
macro)]
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
lacombar authored and michal42 committed Jul 1, 2011
1 parent ec6452a commit e54e692
Show file tree
Hide file tree
Showing 4 changed files with 266 additions and 128 deletions.
Loading

0 comments on commit e54e692

Please sign in to comment.