blob: 9d9d96ebc64785c1215712553cb1e3003896b73e [file] [log] [blame]
Stefan Reinauerb18f5222015-02-11 01:53:42 +01001#!/bin/sh
2# This file is part of the coreboot project.
3#
4# Copyright 2015 Google Inc.
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; version 2 of the License.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# DESCR: Checkpatch on all .c and .h files in the tree
16
17LC_ALL=C export LC_ALL
18util/lint/checkpatch.pl --show-types --file $( git ls-files \*.[ch] | \
19 grep -v ^payloads/libpayload/util/kconfig | \
20 grep -v ^payloads/libpayload/curses/PDCurses-3.4 | \
21 grep -v ^payloads/coreinfo/util/kconfig | \
22 grep -v ^util/kconfig \
23 )