summaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2010-11-18 15:07:06 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-11-18 15:07:06 +0000
commit302993fe778dacfe378f1a386e7e32b9839286a7 (patch)
treebe8c68b8612868367a60f7a128a9da11c4a6237c /util/lint
parentc6ef20fb70f7ce834fa44fa63ad46880be9d51ee (diff)
downloadcoreboot-302993fe778dacfe378f1a386e7e32b9839286a7.tar.xz
lint tests can now describe what they do (for the benefit of
make lint users) Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Patrick Georgi <patrick@georgi-clan.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6092 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/lint')
-rw-r--r--util/lint/lint-001-no-global-config-in-romstage1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/lint/lint-001-no-global-config-in-romstage b/util/lint/lint-001-no-global-config-in-romstage
index 3bb71f809f..b48b8b47cf 100644
--- a/util/lint/lint-001-no-global-config-in-romstage
+++ b/util/lint/lint-001-no-global-config-in-romstage
@@ -1,4 +1,5 @@
#!/bin/sh
+# DESCR: Check that no symbols #defined in any romstage.c is used elsewhere
DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t ]\([^\t ]*\)[\t ].*,\1,' | grep -v "(" | sort -u`
SCANBUCKET=`mktemp`
LC_ALL=C export LC_ALL