commonlib,console,nb,sb,security: Add SPDX licenses to Makefiles
To help identify the licenses of the various files contained in the coreboot source, we've added SPDX headers to the top of all of the .c and .h files. This extends that practice to Makefiles. Any file in the coreboot project without a specific license is bound to the license of the overall coreboot project, GPL Version 2. This patch adds the GPL V2 license identifier to the top of all makefiles in the commonlib, console, northbridge, security, and southbridge directories that don't already have an SPDX license line at the top. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I02804a10d0b0355e41271a035613d9f3dfb122f8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68985 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
9802f1ee54
commit
f362bbd5c7
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
subdirs-y += storage
|
subdirs-y += storage
|
||||||
|
|
||||||
bootblock-y += mem_pool.c
|
bootblock-y += mem_pool.c
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
ramstage-y += vtxprintf.c printk.c vsprintf.c
|
ramstage-y += vtxprintf.c printk.c vsprintf.c
|
||||||
ramstage-y += init.c console.c
|
ramstage-y += init.c console.c
|
||||||
ramstage-y += post.c
|
ramstage-y += post.c
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
romstage-y += ddr_common.c
|
romstage-y += ddr_common.c
|
||||||
ramstage-y += ddr_common.c spd.c
|
ramstage-y += ddr_common.c spd.c
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
ifeq ($(CONFIG_NORTHBRIDGE_INTEL_E7505),y)
|
ifeq ($(CONFIG_NORTHBRIDGE_INTEL_E7505),y)
|
||||||
|
|
||||||
ramstage-y += northbridge.c
|
ramstage-y += northbridge.c
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
subdirs-y += vboot
|
subdirs-y += vboot
|
||||||
subdirs-y += tpm
|
subdirs-y += tpm
|
||||||
subdirs-y += memory
|
subdirs-y += memory
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
subdirs-y += txt
|
subdirs-y += txt
|
||||||
subdirs-y += stm
|
subdirs-y += stm
|
||||||
subdirs-y += cbnt
|
subdirs-y += cbnt
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
ifeq ($(CONFIG_INTEL_CBNT_SUPPORT),y)
|
ifeq ($(CONFIG_INTEL_CBNT_SUPPORT),y)
|
||||||
|
|
||||||
all-y += logging.c
|
all-y += logging.c
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
# put the stm where it can be found
|
# put the stm where it can be found
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
romstage-$(CONFIG_INTEL_TXT_LIB) += txtlib.c
|
romstage-$(CONFIG_INTEL_TXT_LIB) += txtlib.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_INTEL_TXT),y)
|
ifeq ($(CONFIG_INTEL_TXT),y)
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
romstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c
|
romstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c
|
||||||
postcar-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c
|
postcar-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c
|
||||||
ramstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c
|
ramstage-$(CONFIG_PLATFORM_HAS_DRAM_CLEAR) += memory.c
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
subdirs-$(CONFIG_TPM_GOOGLE) += tss/vendor/cr50
|
subdirs-$(CONFIG_TPM_GOOGLE) += tss/vendor/cr50
|
||||||
|
|
||||||
## TSS
|
## TSS
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
ramstage-y += cr50.c
|
ramstage-y += cr50.c
|
||||||
romstage-y += cr50.c
|
romstage-y += cr50.c
|
||||||
postcar-y += cr50.c
|
postcar-y += cr50.c
|
||||||
|
@ -1 +1,3 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
ramstage-$(CONFIG_SOUTHBRIDGE_AMD_PI_AVALON) += amd_pci_util.c
|
ramstage-$(CONFIG_SOUTHBRIDGE_AMD_PI_AVALON) += amd_pci_util.c
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
ifeq ($(CONFIG_SOUTHBRIDGE_INTEL_I82870),y)
|
ifeq ($(CONFIG_SOUTHBRIDGE_INTEL_I82870),y)
|
||||||
|
|
||||||
ramstage-y += ioapic.c
|
ramstage-y += ioapic.c
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
ifeq ($(CONFIG_SOUTHBRIDGE_RICOH_RL5C476),y)
|
ifeq ($(CONFIG_SOUTHBRIDGE_RICOH_RL5C476),y)
|
||||||
|
|
||||||
ramstage-y += rl5c476.c
|
ramstage-y += rl5c476.c
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
## SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
ifeq ($(CONFIG_SOUTHBRIDGE_TI_PCI1X2X),y)
|
ifeq ($(CONFIG_SOUTHBRIDGE_TI_PCI1X2X),y)
|
||||||
|
|
||||||
ramstage-y += pci1x2x.c
|
ramstage-y += pci1x2x.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user