From: Catalin Marinas Date: Tue, 8 Jun 2010 16:25:57 +0000 (+0100) Subject: kbuild: Warn on selecting symbols with unmet direct dependencies X-Git-Tag: v2.6.36-rc1~547^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=246cf9c26bf11f2bffbecea6e5bd222eee7b1df8;p=pandora-kernel.git kbuild: Warn on selecting symbols with unmet direct dependencies The "select" statement in Kconfig files allows the enabling of options even if they have unmet direct dependencies (i.e. "depends on" expands to "no"). Currently, the "depends on" clauses are used in calculating the visibility but they do not affect the reverse dependencies in any way. The patch introduces additional tracking of the "depends on" statements and prints a warning on selecting an option if its direct dependencies are not met. Signed-off-by: Catalin Marinas Cc: Sam Ravnborg Cc: Arnd Bergmann Cc: Andrew Morton Cc: Linus Torvalds Signed-off-by: Michal Marek --- Reading git-diff-tree failed