summaryrefslogtreecommitdiffstats
path: root/scripts/get_maintainer.pl
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-05-15 11:36:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-21 09:16:57 +0200
commitf4f4b035328caafddf526fefd767f45bfb70b82a (patch)
treead44c9d43c2bf8c9aa47108022ad2b7252b94aeb /scripts/get_maintainer.pl
parentfc9304b7f77367ed603198bd50e26b57c170641f (diff)
downloadbarebox-f4f4b035328caafddf526fefd767f45bfb70b82a.tar.gz
barebox-f4f4b035328caafddf526fefd767f45bfb70b82a.tar.xz
checkpatch: add upstream checkpatch v5.1 dependencies
In preperation for pulling in the v5.1 checkpatch, we need to first add some files it depends on that aren't available in barebox: - cleanfile, cleanpatch, spelling.txt: we copy those over as-is - spdxcheck.py: expects the existence of "other" and "exceptions" directories, which we don't need in barebox, thus they are patched out. - const_structs.checkpatch: added file_operations for now. More can follow - get_maintainer.pl: implemented a dummy to keep changes in checkpatch.pl to a minimum Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/get_maintainer.pl')
-rwxr-xr-xscripts/get_maintainer.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
new file mode 100755
index 0000000000..7c0d503334
--- /dev/null
+++ b/scripts/get_maintainer.pl
@@ -0,0 +1,11 @@
+#!/usr/bin/env perl
+# SPDX-License-Identifier: GPL-2.0-only
+# Dummy get_maintainer.pl script for checkpatch.pl to use
+
+die "USAGE: get_maintainer.pl --status\n" unless grep /--status/, @ARGV;
+
+print <<'EOT'
+Sascha Hauer <s.hauer@pengutronix.de> (maintainer:BAREBOX)
+barebox@lists.infradead.org (open list:BAREBOX)
+Maintained
+EOT