From 8324fe92111844d1afe2a87d6d38302520793909 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 4 Aug 2023 12:07:51 -0600 Subject: drivers: Add SPDX license headers 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 drivers directory that don't already have an SPDX license line at the top. Signed-off-by: Martin Roth Change-Id: I8442bc18ce228eca88a084660be84bcd1c5de928 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68980 Reviewed-by: Felix Singer Reviewed-by: Eric Lai Reviewed-by: Tim Crawford Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/drivers/pc80/pc/Makefile.inc | 2 ++ src/drivers/pc80/rtc/Makefile.inc | 2 ++ src/drivers/pc80/tpm/Makefile.inc | 2 ++ src/drivers/pc80/vga/Makefile.inc | 2 ++ 4 files changed, 8 insertions(+) (limited to 'src/drivers/pc80') diff --git a/src/drivers/pc80/pc/Makefile.inc b/src/drivers/pc80/pc/Makefile.inc index 7cf2957e7b..c5060116a7 100644 --- a/src/drivers/pc80/pc/Makefile.inc +++ b/src/drivers/pc80/pc/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_ARCH_X86),y) ramstage-y += isa-dma.c diff --git a/src/drivers/pc80/rtc/Makefile.inc b/src/drivers/pc80/rtc/Makefile.inc index 5f6055e872..9d248780b1 100644 --- a/src/drivers/pc80/rtc/Makefile.inc +++ b/src/drivers/pc80/rtc/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_ARCH_X86),y) all-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c diff --git a/src/drivers/pc80/tpm/Makefile.inc b/src/drivers/pc80/tpm/Makefile.inc index 859233712b..384bc40e70 100644 --- a/src/drivers/pc80/tpm/Makefile.inc +++ b/src/drivers/pc80/tpm/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_MEMORY_MAPPED_TPM),y) all-y += tis.c endif diff --git a/src/drivers/pc80/vga/Makefile.inc b/src/drivers/pc80/vga/Makefile.inc index f7ec2b5025..63ec6ba6ae 100644 --- a/src/drivers/pc80/vga/Makefile.inc +++ b/src/drivers/pc80/vga/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ifeq ($(CONFIG_ARCH_X86),y) romstage-$(CONFIG_ROMSTAGE_VGA) += vga_io.c -- cgit v1.2.3