scripts/Makefile* Add SPDX-License-Identifier tag
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>
This commit is contained in:
parent
1811b7d38c
commit
f32c864938
|
@ -6,6 +6,9 @@
|
||||||
# When our migration to Kconfig is done
|
# When our migration to Kconfig is done
|
||||||
# (= When we move all CONFIGs from header files to Kconfig)
|
# (= When we move all CONFIGs from header files to Kconfig)
|
||||||
# this makefile can be deleted.
|
# this makefile can be deleted.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
|
|
||||||
__all: include/autoconf.mk include/autoconf.mk.dep
|
__all: include/autoconf.mk include/autoconf.mk.dep
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
# Building
|
# Building
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
|
|
||||||
# Modified for U-Boot
|
# Modified for U-Boot
|
||||||
prefix := tpl
|
prefix := tpl
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
# Cleaning up
|
# Cleaning up
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
|
|
||||||
src := $(obj)
|
src := $(obj)
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
# $(call cc-option, -W...) handles gcc -W.. options which
|
# $(call cc-option, -W...) handles gcc -W.. options which
|
||||||
# are not supported by all versions of the compiler
|
# are not supported by all versions of the compiler
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
|
|
||||||
ifeq ("$(origin W)", "command line")
|
ifeq ("$(origin W)", "command line")
|
||||||
export KBUILD_ENABLE_EXTRA_GCC_CHECKS := $(W)
|
export KBUILD_ENABLE_EXTRA_GCC_CHECKS := $(W)
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
# qconf-objs := menu.o
|
# qconf-objs := menu.o
|
||||||
# Will compile qconf as a C++ program, and menu as a C program.
|
# Will compile qconf as a C++ program, and menu as a C program.
|
||||||
# They are linked as C++ code to the executable qconf
|
# They are linked as C++ code to the executable qconf
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
|
|
||||||
__hostprogs := $(sort $(hostprogs-y) $(hostprogs-m))
|
__hostprogs := $(sort $(hostprogs-y) $(hostprogs-m))
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
# Backward compatibility
|
# Backward compatibility
|
||||||
asflags-y += $(EXTRA_AFLAGS)
|
asflags-y += $(EXTRA_AFLAGS)
|
||||||
ccflags-y += $(EXTRA_CFLAGS)
|
ccflags-y += $(EXTRA_CFLAGS)
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# Makefile version of include/config_uncmd_spl.h
|
# Makefile version of include/config_uncmd_spl.h
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
|
#
|
||||||
# TODO: Invent a better way
|
# TODO: Invent a better way
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
|
Loading…
Reference in New Issue