From d402089abee3cbf63ef63a9f6c411b3f53107433 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 3 Jan 2022 13:05:30 +0100 Subject: treewide: add SPDX-License-Identifier for Kbuild/Kconfig To verify only Kconfig/Makefile is touched: git show --numstat --format=oneline HEAD | grep -v 'Kconfig\|Makefile' will print only arch/powerpc/Kbuild. To verify nothing unexpected is added: git show -U0 | grep '^-[^-]\|^+[^+]' | sort -u Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20220103120539.1730644-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- arch/x86/Kconfig | 5 ++--- arch/x86/Makefile | 2 ++ arch/x86/lib/Makefile | 2 ++ arch/x86/mach-efi/Makefile | 2 ++ 4 files changed, 8 insertions(+), 3 deletions(-) (limited to 'arch/x86') diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index f40b14dddc..5e2e26cd6e 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1,6 +1,5 @@ -# -# -# +# SPDX-License-Identifier: GPL-2.0-only + config X86 bool select HAS_KALLSYMS diff --git a/arch/x86/Makefile b/arch/x86/Makefile index a0ce8c17f1..dba5b196b3 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + KBUILD_DEFCONFIG := efi_defconfig KBUILD_CPPFLAGS += -D__X86__ diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index 360aebf569..d713065fd3 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_X86_32) += setjmp_32.o obj-$(CONFIG_X86_64) += setjmp_64.o diff --git a/arch/x86/mach-efi/Makefile b/arch/x86/mach-efi/Makefile index f633e7c7ed..bddbac8f66 100644 --- a/arch/x86/mach-efi/Makefile +++ b/arch/x86/mach-efi/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_X86_64) += reloc_x86_64.o crt0-efi-x86_64.o obj-$(CONFIG_X86_32) += reloc_ia32.o crt0-efi-ia32.o obj-y += clocksource.o -- cgit v1.2.3