From daa9e12bc536b9d830de276934171ef1ce921e3f Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 11 Jan 2016 14:35:24 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/12903 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/lint/lint-008-kconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 util/lint/lint-008-kconfig (limited to 'util/lint') diff --git a/util/lint/lint-008-kconfig b/util/lint/lint-008-kconfig new file mode 100755 index 0000000000..16ae251184 --- /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 -- cgit v1.2.3