[coreboot-gerrit] New patch to review for coreboot: util/lint: Add lint script to run kconfig_lint
Martin Roth (martinroth@google.com)
gerrit at coreboot.org
Mon Jan 11 22:36:03 CET 2016
Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12903
-gerrit
commit ecb44763236e8f3ed44b18d4dc9e2dd0075f2168
Author: Martin Roth <martinroth at google.com>
Date: Mon Jan 11 14:35:24 2016 -0700
util/lint: Add lint script to run kconfig_lint
The lint target in the makefile relies there being a script using
this particular naming format, so add a shell script front end to
run the kconfig linter.
Change-Id: I029c1cd3bbf3837c9f1d86c391ae5cabfa53685d
Signed-off-by: Martin Roth <martinroth at google.com>
---
util/lint/lint-008-kconfig | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/util/lint/lint-008-kconfig b/util/lint/lint-008-kconfig
new file mode 100755
index 0000000..16ae251
--- /dev/null
+++ b/util/lint/lint-008-kconfig
@@ -0,0 +1,18 @@
+#!/bin/sh
+# This file is part of the coreboot project.
+#
+# Copyright 2016 Google Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# DESCR: check Kconfig files
+
+LC_ALL=C export LC_ALL
+env perl util/lint/kconfig_lint --no_git_grep --warnings_off
More information about the coreboot-gerrit
mailing list