util/lint: Update whitespace linter for FreeBSD
commit86008930172055db72849bd5e2cea01adc8e4b0d
authorMartin Roth <martinr@coreboot.org>
Sat, 1 Sep 2018 20:54:33 +0000 (1 14:54 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 4 Sep 2018 12:38:18 +0000 (4 12:38 +0000)
treec08a946b0426f716cee8dc9d49a4fc17420f548f
parentfe68ab9fd1273b4c6d5cb2efca7ed3a60d2369ee
util/lint: Update whitespace linter for FreeBSD

On FreeBSD, this test was failing with the error:
"grep: Argument list too long"

I found that changing this to other forms takes MUCH longer, so I left
the original method mostly unchanged except for moving the include &
exclude lists into variables.

Currently, I'm setting all non-linux operating systems to use the second
version. I'll update that if I find other that other OSes support the
first.

Change-Id: I1c9281440d051dea8a8b3a3ddc04676ccea77c7a
Signed-off-by: Martin Roth <martinr@coreboot.org>
Reviewed-on: https://review.coreboot.org/28429
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
util/lint/lint-stable-003-whitespace