diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-02 08:54:42 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-02 08:54:42 +0200 |
commit | 8c746628fe6ab2cba89ef440b2895cbf3d67846b (patch) | |
tree | e1aaf4c57155003560f6dfed9a15dc08259acfcb /scripts | |
parent | 08d86870b2346290e94ea1d604437a1b441850e5 (diff) | |
parent | 25bffd8a9a1c15a2676b3b128af05c8c66981a5a (diff) | |
download | barebox-8c746628fe6ab2cba89ef440b2895cbf3d67846b.tar.gz barebox-8c746628fe6ab2cba89ef440b2895cbf3d67846b.tar.xz |
Merge branch 'for-next/misc'
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/.gitignore | 3 | ||||
-rwxr-xr-x | scripts/checkpatch.pl | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/scripts/.gitignore b/scripts/.gitignore index dc794bc898..b574b22fb1 100644 --- a/scripts/.gitignore +++ b/scripts/.gitignore @@ -19,3 +19,6 @@ bareboxenv-target kernel-install-target bareboxcrc32-target bareboximd-target +bareboxstate +bareboxstate-target +mk-am35xx-spi-image diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 153af8dd82..419436dede 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1425,6 +1425,16 @@ sub process { $rpt_cleaners = 1; } +# Check for FSF mailing addresses. + if ($rawline =~ /\bwrite to the Free/i || + $rawline =~ /\b59\s+Temple\s+Pl/i || + $rawline =~ /\b51\s+Franklin\s+St/i) { + my $herevet = "$here\n" . cat_vet($rawline) . "\n"; + my $msg_type = \&ERROR; + $msg_type = \&CHK if ($file); + &{$msg_type}("Do not include the paragraph about writing to the Free Software Foundation's mailing address from the sample GPL notice. The FSF has changed addresses in the past, and may do so again. barebox already includes a copy of the GPL.\n" . $herevet) + } + # check for Kconfig help text having a real description # Only applies when adding the entry originally, after that we do not have # sufficient context to determine whether it is indeed long enough. |