the following patch was just integrated into master: commit 0e6c0e18e37b0fa8d543b39a97e676896c7799ba Author: Martin Roth martinroth@google.com Date: Wed Mar 2 12:16:13 2016 -0700
kconfig_lint: make sure if and endif statements are balanced
In Kconfig files, the 'if' and 'endif' statements need to match up. A file can't start an if statement that's completed in the next file.
Add a check as the files are being parsed to make sure that they match up correctly.
Change-Id: If51207ea037089ab84c768e5a868270468cf4c4f Signed-off-by: Martin Roth martinroth@google.com Reviewed-on: https://review.coreboot.org/13876 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
See https://review.coreboot.org/13876 for details.
-gerrit