summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-10-02 08:54:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-10-02 08:54:42 +0200
commit8c746628fe6ab2cba89ef440b2895cbf3d67846b (patch)
treee1aaf4c57155003560f6dfed9a15dc08259acfcb /scripts
parent08d86870b2346290e94ea1d604437a1b441850e5 (diff)
parent25bffd8a9a1c15a2676b3b128af05c8c66981a5a (diff)
downloadbarebox-8c746628fe6ab2cba89ef440b2895cbf3d67846b.tar.gz
barebox-8c746628fe6ab2cba89ef440b2895cbf3d67846b.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/.gitignore3
-rwxr-xr-xscripts/checkpatch.pl10
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.