kconfig: fix choice dependency check
authorRoman Zippel <zippel@linux-m68k.org>
Fri, 29 Feb 2008 04:10:24 +0000 (05:10 +0100)
committerChromeBot <chrome-bot@google.com>
Tue, 14 May 2013 00:18:51 +0000 (17:18 -0700)
commitd718170e78bb05362f1f1d9284b8908080ac4790
tree96e3eae0b915dbd5911fafcc0feb283fd94ff9d8
parent99c815ba316a5d3f93e60305966ac5051050f659
kconfig: fix choice dependency check

Properly check the dependency of choices as a group.
Also fix that sym_check_deps() correctly terminates the dependency loop
error check (otherwise it would continue printing the dependency chain).

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
=======

Cherry-picked from the Linux kernel.

BUG=None
TEST=Built for Pit, Link, Fox.
BRANCH=None

Change-Id: I71eba60a4124232dc825e924d0424b52f80d2928
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/51055
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
util/kconfig/symbol.c