Various Makefiles: Add SPDX-License-Identifier tags
After consulting with some of the SPDX team, the conclusion is that
Makefiles are worth adding SPDX-License-Identifier tags too, and most of
ours have one. This adds tags to ones that lack them and converts a few
that had full (or in one case, very partial) license blobs into the
equivalent tag.
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/scripts/Makefile b/scripts/Makefile
index efe25bf..2f081f7 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -3,6 +3,9 @@
# the kernel for the build process.
# ---------------------------------------------------------------------------
# docproc: Used in Documentation/DocBook
+#
+# SPDX-License-Identifier: GPL-2.0
+#
# The following hostprogs-y programs are only build on demand
hostprogs-y += docproc
diff --git a/scripts/basic/Makefile b/scripts/basic/Makefile
index 4fcef87..f883857 100644
--- a/scripts/basic/Makefile
+++ b/scripts/basic/Makefile
@@ -7,6 +7,9 @@
# .config is included by main Makefile.
# ---------------------------------------------------------------------------
# fixdep: Used to generate dependency information during build process
+#
+# SPDX-License-Identifier: GPL-2.0
+#
hostprogs-y := fixdep
always := $(hostprogs-y)
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 46ddf2d..14285b1 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -1,6 +1,9 @@
# ===========================================================================
# Kernel configuration targets
# These targets are used from top-level makefile
+#
+# SPDX-License-Identifier: GPL-2.0
+#
PHONY += xconfig gconfig menuconfig config silentoldconfig update-po-config \
localmodconfig localyesconfig