From 8ebd8cc34868127f5b13c668321670d1677225b5 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 4 Aug 2023 12:16:41 -0600 Subject: mainboard: 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 mainboard directory that don't already have an SPDX license line at the top. Signed-off-by: Martin Roth Change-Id: Ic451e68b1ad9ccdf34484dd98bd7fca7e177ef22 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68982 Reviewed-by: Felix Singer Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Tim Crawford Reviewed-by: Elyes Haouas --- src/mainboard/lenovo/haswell/Makefile.inc | 2 ++ src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc | 2 ++ src/mainboard/lenovo/s230u/Makefile.inc | 2 ++ src/mainboard/lenovo/t430/Makefile.inc | 2 ++ src/mainboard/lenovo/thinkcentre_a58/Makefile.inc | 2 ++ 5 files changed, 10 insertions(+) (limited to 'src/mainboard/lenovo') diff --git a/src/mainboard/lenovo/haswell/Makefile.inc b/src/mainboard/lenovo/haswell/Makefile.inc index d1300f8f67..3861ea195d 100644 --- a/src/mainboard/lenovo/haswell/Makefile.inc +++ b/src/mainboard/lenovo/haswell/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + romstage-y += variants/$(VARIANT_DIR)/gpio.c romstage-y += variants/$(VARIANT_DIR)/romstage.c diff --git a/src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc b/src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc index f3c87b2318..ffdfd17716 100644 --- a/src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc +++ b/src/mainboard/lenovo/haswell/variants/t440p/Makefile.inc @@ -1 +1,3 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-y += mainboard.c diff --git a/src/mainboard/lenovo/s230u/Makefile.inc b/src/mainboard/lenovo/s230u/Makefile.inc index 31bb642edf..073d8b2e90 100644 --- a/src/mainboard/lenovo/s230u/Makefile.inc +++ b/src/mainboard/lenovo/s230u/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + bootblock-y += gpio.c romstage-y += gpio.c ramstage-y += ec.c diff --git a/src/mainboard/lenovo/t430/Makefile.inc b/src/mainboard/lenovo/t430/Makefile.inc index e402ffa605..e4b6fbf0f0 100644 --- a/src/mainboard/lenovo/t430/Makefile.inc +++ b/src/mainboard/lenovo/t430/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + bootblock-y += gpio.c romstage-y += gpio.c diff --git a/src/mainboard/lenovo/thinkcentre_a58/Makefile.inc b/src/mainboard/lenovo/thinkcentre_a58/Makefile.inc index 4100476891..de8c51494d 100644 --- a/src/mainboard/lenovo/thinkcentre_a58/Makefile.inc +++ b/src/mainboard/lenovo/thinkcentre_a58/Makefile.inc @@ -1,3 +1,5 @@ +## SPDX-License-Identifier: GPL-2.0-only + ramstage-y += cstates.c romstage-y += gpio.c -- cgit v1.2.3