From: Arnaud Lacombe Date: Sun, 26 Sep 2010 20:24:08 +0000 (-0400) Subject: kconfig: simplify select-with-unmet-direct-dependency warning X-Git-Tag: v2.6.38-rc1~439^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1137c56b7420c801147e0863845c03b07554721a;p=pandora-kernel.git kconfig: simplify select-with-unmet-direct-dependency warning This is an attempt to simplify the expressing printed by kconfig when a symbol is selected but still has direct unmet dependency. First, the symbol reverse dependency is split in sub-expression. Then, each sub-expression is checked to ensure that it does not contains the unmet dependency. This removes the false-positive symbols and fixed symbol which already have the correct dependency. Finally, only the symbol responsible of the "select" is printed, instead of its full dependency tree. CC: Catalin Marinas Signed-off-by: Arnaud Lacombe Signed-off-by: Michal Marek --- Reading git-diff-tree failed