* [U-Boot] [PATCH] scripts/Makefile* Add SPDX-License-Identifier tag
@ 2016-01-14 23:24 Tom Rini
2016-01-19 18:08 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2016-01-14 23:24 UTC (permalink / raw)
To: u-boot
A general best practice for SPDX is that Makefiles should have an
identifier, add these as everything else is currently covered.
Signed-off-by: Tom Rini <trini@konsulko.com>
---
scripts/Makefile.autoconf | 3 +++
scripts/Makefile.build | 3 +++
scripts/Makefile.clean | 3 +++
| 3 +++
scripts/Makefile.host | 3 +++
scripts/Makefile.lib | 3 +++
scripts/Makefile.uncmd_spl | 2 ++
7 files changed, 20 insertions(+)
diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
index d668982..01a739d 100644
--- a/scripts/Makefile.autoconf
+++ b/scripts/Makefile.autoconf
@@ -6,6 +6,9 @@
# When our migration to Kconfig is done
# (= When we move all CONFIGs from header files to Kconfig)
# this makefile can be deleted.
+#
+# SPDX-License-Identifier: GPL-2.0
+#
__all: include/autoconf.mk include/autoconf.mk.dep
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index de818ae..06e5c20 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -1,6 +1,9 @@
# ==========================================================================
# Building
# ==========================================================================
+#
+# SPDX-License-Identifier: GPL-2.0
+#
# Modified for U-Boot
prefix := tpl
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean
index 4853631..b69533d 100644
--- a/scripts/Makefile.clean
+++ b/scripts/Makefile.clean
@@ -1,6 +1,9 @@
# ==========================================================================
# Cleaning up
# ==========================================================================
+#
+# SPDX-License-Identifier: GPL-2.0
+#
src := $(obj)
--git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn
index 0ec0d24..6547e57 100644
--- a/scripts/Makefile.extrawarn
+++ b/scripts/Makefile.extrawarn
@@ -9,6 +9,9 @@
# $(call cc-option, -W...) handles gcc -W.. options which
# are not supported by all versions of the compiler
# ==========================================================================
+#
+# SPDX-License-Identifier: GPL-2.0
+#
ifeq ("$(origin W)", "command line")
export KBUILD_ENABLE_EXTRA_GCC_CHECKS := $(W)
diff --git a/scripts/Makefile.host b/scripts/Makefile.host
index 133edfa..bff8b5b 100644
--- a/scripts/Makefile.host
+++ b/scripts/Makefile.host
@@ -19,6 +19,9 @@
# qconf-objs := menu.o
# Will compile qconf as a C++ program, and menu as a C program.
# They are linked as C++ code to the executable qconf
+#
+# SPDX-License-Identifier: GPL-2.0
+#
__hostprogs := $(sort $(hostprogs-y) $(hostprogs-m))
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index ed30bf5..1644f8c 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -1,3 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0
+#
# Backward compatibility
asflags-y += $(EXTRA_AFLAGS)
ccflags-y += $(EXTRA_CFLAGS)
diff --git a/scripts/Makefile.uncmd_spl b/scripts/Makefile.uncmd_spl
index 4003546..15d0836 100644
--- a/scripts/Makefile.uncmd_spl
+++ b/scripts/Makefile.uncmd_spl
@@ -1,5 +1,7 @@
# Makefile version of include/config_uncmd_spl.h
#
+# SPDX-License-Identifier: GPL-2.0+
+#
# TODO: Invent a better way
ifdef CONFIG_SPL_BUILD
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] scripts/Makefile* Add SPDX-License-Identifier tag
2016-01-14 23:24 [U-Boot] [PATCH] scripts/Makefile* Add SPDX-License-Identifier tag Tom Rini
@ 2016-01-19 18:08 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2016-01-19 18:08 UTC (permalink / raw)
To: u-boot
On Thu, Jan 14, 2016 at 06:24:44PM -0500, Tom Rini wrote:
> A general best practice for SPDX is that Makefiles should have an
> identifier, add these as everything else is currently covered.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160119/42802b3b/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-19 18:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-14 23:24 [U-Boot] [PATCH] scripts/Makefile* Add SPDX-License-Identifier tag Tom Rini
2016-01-19 18:08 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.