Searched hist:"8 baefd30b5b0101aa07aa75da44a9eee881eed28" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/scripts/kconfig/ |
H A D | confdata.c | diff 8bea7548ee0223175bea5fddcc54af93bd252d9b Thu Sep 30 14:23:17 CDT 2010 Naohiro Aota <naota@elisp.net> kconfig: Don't go out from read config loop when you read new symbol
commit 8baefd30b5b0101aa07aa75da44a9eee881eed28 of linux-next replaced a `switch()' statement with some `if()' statements, but left `break's in the `switch()' statement untouched. This cause read config loop to exit and so "make oldconfig" is not much usable (see below).
> $ make oldconfig ><snip> > scripts/kconfig/conf --oldconfig Kconfig > # > # using defaults found in /boot/config-2.6.34-ccs-r1 > # > * > * Restart config... > * > * > * General setup > * > Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [N/y/?] (NEW)
(I've already have "CONFIG_EXPERIMENTAL=y" in the old config file. But that's not read here.)
This patch should fix this problem.
Signed-off-by: Naohiro Aota <naota@elisp.net> Signed-off-by: Michal Marek <mmarek@suse.cz> diff 8baefd30b5b0101aa07aa75da44a9eee881eed28 Mon Aug 23 23:14:47 CDT 2010 Arnaud Lacombe <lacombar@gmail.com> kconfig: replace a `switch()' statement by a more flexible `if()' statement
With the upcoming dynamical configuration prefix, we can no longer assume that the prefix will start by a 'C'. As such, we can no longer hardcode this value in the `case ...:', so replace the `switch() { ... }' statement by a more flexible 'if () { ... }' statement.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Michal Marek <mmarek@suse.cz>
|