diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-01-03 13:05:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-01-05 08:58:43 +0100 |
commit | d402089abee3cbf63ef63a9f6c411b3f53107433 (patch) | |
tree | a967f3a4aeecf70aef47d40f20324304b104c6d5 /arch/openrisc | |
parent | 8c217afbee47c08b3d5ae6d9808adace15f64774 (diff) | |
download | barebox-d402089abee3cbf63ef63a9f6c411b3f53107433.tar.gz |
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 <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220103120539.1730644-3-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/Kconfig | 2 | ||||
-rw-r--r-- | arch/openrisc/Makefile | 2 | ||||
-rw-r--r-- | arch/openrisc/boards/generic/Makefile | 2 | ||||
-rw-r--r-- | arch/openrisc/cpu/Makefile | 2 | ||||
-rw-r--r-- | arch/openrisc/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/openrisc/lib/Makefile | 2 |
6 files changed, 11 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index bd8851e4b3..34b24bec08 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + config OPENRISC bool select OFTREE diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile index 1776f56df9..609b998de9 100644 --- a/arch/openrisc/Makefile +++ b/arch/openrisc/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + KBUILD_DEFCONFIG := generic_defconfig KBUILD_CPPFLAGS += -D__OR1K__ -ffixed-r10 -mhard-mul -mhard-div diff --git a/arch/openrisc/boards/generic/Makefile b/arch/openrisc/boards/generic/Makefile index d8a3d7f2cc..3cdac31b39 100644 --- a/arch/openrisc/boards/generic/Makefile +++ b/arch/openrisc/boards/generic/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += generic.o diff --git a/arch/openrisc/cpu/Makefile b/arch/openrisc/cpu/Makefile index 1cd7506003..9828dff95d 100644 --- a/arch/openrisc/cpu/Makefile +++ b/arch/openrisc/cpu/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += start.o obj-y += cpu.o obj-y += exceptions.o diff --git a/arch/openrisc/dts/Makefile b/arch/openrisc/dts/Makefile index 6d6c9a3ce0..f43a28d6b9 100644 --- a/arch/openrisc/dts/Makefile +++ b/arch/openrisc/dts/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME)) obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o diff --git a/arch/openrisc/lib/Makefile b/arch/openrisc/lib/Makefile index 808b09f3aa..a55a9049e6 100644 --- a/arch/openrisc/lib/Makefile +++ b/arch/openrisc/lib/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += clock.o obj-y += board.o obj-y += cpuinfo.o |