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/mips/Kconfig | 5 ++--- arch/mips/Makefile | 2 ++ arch/mips/boards/8devices-lima/Makefile | 2 ++ arch/mips/boards/Makefile | 2 ++ arch/mips/boards/black-swift/Makefile | 2 ++ arch/mips/boards/dlink-dir-320/Makefile | 2 ++ arch/mips/boards/dptechnics-dpt-module/Makefile | 2 ++ arch/mips/boards/img-ci20/Makefile | 2 ++ arch/mips/boards/loongson-ls1b/Makefile | 2 ++ arch/mips/boards/netgear-wg102/Makefile | 2 ++ arch/mips/boards/okud-max9331/Makefile | 2 ++ arch/mips/boards/openembed-som9331/Makefile | 2 ++ arch/mips/boards/qemu-malta/Makefile | 2 ++ arch/mips/boards/ritmix-rzx50/Makefile | 2 ++ arch/mips/boards/tplink-mr3020/Makefile | 2 ++ arch/mips/boards/tplink-wdr4300/Makefile | 2 ++ arch/mips/boot/Makefile | 2 ++ arch/mips/dts/Makefile | 2 ++ arch/mips/lib/Makefile | 2 ++ arch/mips/mach-ar231x/Kconfig | 2 ++ arch/mips/mach-ar231x/Makefile | 2 ++ arch/mips/mach-ath79/Kconfig | 2 ++ arch/mips/mach-ath79/Makefile | 2 ++ arch/mips/mach-bcm47xx/Kconfig | 2 ++ arch/mips/mach-bcm47xx/Makefile | 2 ++ arch/mips/mach-loongson/Kconfig | 2 ++ arch/mips/mach-loongson/Makefile | 2 ++ arch/mips/mach-malta/Kconfig | 2 ++ arch/mips/mach-malta/Makefile | 2 ++ arch/mips/mach-xburst/Kconfig | 2 ++ arch/mips/mach-xburst/Makefile | 2 ++ arch/mips/pbl/Makefile | 1 + 32 files changed, 63 insertions(+), 3 deletions(-) (limited to 'arch/mips') diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 7774abe948..be5a4ff30d 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1,6 +1,5 @@ -# -# -# +# SPDX-License-Identifier: GPL-2.0-only + config MIPS bool select GENERIC_LIB_ASHLDI3 diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 7866951944..345e703d33 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + KBUILD_DEFCONFIG := qemu-malta_defconfig # diff --git a/arch/mips/boards/8devices-lima/Makefile b/arch/mips/boards/8devices-lima/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/8devices-lima/Makefile +++ b/arch/mips/boards/8devices-lima/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/Makefile b/arch/mips/boards/Makefile index 5f9b61e754..9402035856 100644 --- a/arch/mips/boards/Makefile +++ b/arch/mips/boards/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_BOARD_8DEVICES_LIMA) += 8devices-lima/ obj-$(CONFIG_BOARD_BLACK_SWIFT) += black-swift/ obj-$(CONFIG_BOARD_CI20) += img-ci20/ diff --git a/arch/mips/boards/black-swift/Makefile b/arch/mips/boards/black-swift/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/black-swift/Makefile +++ b/arch/mips/boards/black-swift/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/dlink-dir-320/Makefile b/arch/mips/boards/dlink-dir-320/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/dlink-dir-320/Makefile +++ b/arch/mips/boards/dlink-dir-320/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/dptechnics-dpt-module/Makefile b/arch/mips/boards/dptechnics-dpt-module/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/dptechnics-dpt-module/Makefile +++ b/arch/mips/boards/dptechnics-dpt-module/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/img-ci20/Makefile b/arch/mips/boards/img-ci20/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/img-ci20/Makefile +++ b/arch/mips/boards/img-ci20/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/loongson-ls1b/Makefile b/arch/mips/boards/loongson-ls1b/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/loongson-ls1b/Makefile +++ b/arch/mips/boards/loongson-ls1b/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/netgear-wg102/Makefile b/arch/mips/boards/netgear-wg102/Makefile index 344a6711b2..fe0616fdb8 100644 --- a/arch/mips/boards/netgear-wg102/Makefile +++ b/arch/mips/boards/netgear-wg102/Makefile @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o obj-y += ram.o diff --git a/arch/mips/boards/okud-max9331/Makefile b/arch/mips/boards/okud-max9331/Makefile index c58bf72354..c28b1a9059 100644 --- a/arch/mips/boards/okud-max9331/Makefile +++ b/arch/mips/boards/okud-max9331/Makefile @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o lwl-y += lowlevel_boot0.o diff --git a/arch/mips/boards/openembed-som9331/Makefile b/arch/mips/boards/openembed-som9331/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/openembed-som9331/Makefile +++ b/arch/mips/boards/openembed-som9331/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/qemu-malta/Makefile b/arch/mips/boards/qemu-malta/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/qemu-malta/Makefile +++ b/arch/mips/boards/qemu-malta/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/ritmix-rzx50/Makefile b/arch/mips/boards/ritmix-rzx50/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/ritmix-rzx50/Makefile +++ b/arch/mips/boards/ritmix-rzx50/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/tplink-mr3020/Makefile b/arch/mips/boards/tplink-mr3020/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/tplink-mr3020/Makefile +++ b/arch/mips/boards/tplink-mr3020/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boards/tplink-wdr4300/Makefile b/arch/mips/boards/tplink-wdr4300/Makefile index b08c4a93ca..458f520900 100644 --- a/arch/mips/boards/tplink-wdr4300/Makefile +++ b/arch/mips/boards/tplink-wdr4300/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel.o diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile index 3d46e836f7..d1e27b5e6b 100644 --- a/arch/mips/boot/Makefile +++ b/arch/mips/boot/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += start.o obj-y += main_entry.o diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile index e5900c971b..e4cc3b44a5 100644 --- a/arch/mips/dts/Makefile +++ b/arch/mips/dts/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME)) ifneq ($(BUILTIN_DTB),) obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index 88a2bdbd28..1ef340202a 100644 --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + extra-$(CONFIG_GENERIC_LINKER_SCRIPT) += barebox.lds obj-$(CONFIG_CSRC_R4K_LIB) += csrc-r4k.o obj-y += cpu-probe.o diff --git a/arch/mips/mach-ar231x/Kconfig b/arch/mips/mach-ar231x/Kconfig index f920f300bd..f3e17000a7 100644 --- a/arch/mips/mach-ar231x/Kconfig +++ b/arch/mips/mach-ar231x/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + if MACH_MIPS_AR231X choice diff --git a/arch/mips/mach-ar231x/Makefile b/arch/mips/mach-ar231x/Makefile index eba8e818b5..65e32c7bc3 100644 --- a/arch/mips/mach-ar231x/Makefile +++ b/arch/mips/mach-ar231x/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += ar231x.o obj-y += board.o obj-y += ar231x_reset.o diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig index 2dfe0e587a..7564050489 100644 --- a/arch/mips/mach-ath79/Kconfig +++ b/arch/mips/mach-ath79/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + if MACH_MIPS_ATH79 config SOC_QCA_AR9331 diff --git a/arch/mips/mach-ath79/Makefile b/arch/mips/mach-ath79/Makefile index 396df66bf1..9f3a34b3eb 100644 --- a/arch/mips/mach-ath79/Makefile +++ b/arch/mips/mach-ath79/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + lwl-y += lowlevel_ar9331_spi_trap.o lwl-y += lowlevel_ar9331_sram.o diff --git a/arch/mips/mach-bcm47xx/Kconfig b/arch/mips/mach-bcm47xx/Kconfig index c4791901af..606d9e6000 100644 --- a/arch/mips/mach-bcm47xx/Kconfig +++ b/arch/mips/mach-bcm47xx/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + if MACH_MIPS_BCM47XX choice diff --git a/arch/mips/mach-bcm47xx/Makefile b/arch/mips/mach-bcm47xx/Makefile index f3cc6684b8..d19b1f2950 100644 --- a/arch/mips/mach-bcm47xx/Makefile +++ b/arch/mips/mach-bcm47xx/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += reset.o diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig index ab7ccd0cb5..38d05e415b 100644 --- a/arch/mips/mach-loongson/Kconfig +++ b/arch/mips/mach-loongson/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + if MACH_MIPS_LOONGSON choice diff --git a/arch/mips/mach-loongson/Makefile b/arch/mips/mach-loongson/Makefile index 52b36f3cf9..451c572e76 100644 --- a/arch/mips/mach-loongson/Makefile +++ b/arch/mips/mach-loongson/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += loongson1_reset.o diff --git a/arch/mips/mach-malta/Kconfig b/arch/mips/mach-malta/Kconfig index 4671075140..cf061f6670 100644 --- a/arch/mips/mach-malta/Kconfig +++ b/arch/mips/mach-malta/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + if MACH_MIPS_MALTA config BOARD_QEMU_MALTA diff --git a/arch/mips/mach-malta/Makefile b/arch/mips/mach-malta/Makefile index 7d56f215b0..d937083bbb 100644 --- a/arch/mips/mach-malta/Makefile +++ b/arch/mips/mach-malta/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_PCI) += pci.o diff --git a/arch/mips/mach-xburst/Kconfig b/arch/mips/mach-xburst/Kconfig index ae8093d1a3..954e295fd1 100644 --- a/arch/mips/mach-xburst/Kconfig +++ b/arch/mips/mach-xburst/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + if MACH_MIPS_XBURST config CPU_JZ4755 diff --git a/arch/mips/mach-xburst/Makefile b/arch/mips/mach-xburst/Makefile index e5634ba9cc..0d2bb542c7 100644 --- a/arch/mips/mach-xburst/Makefile +++ b/arch/mips/mach-xburst/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_CPU_JZ4755) += csrc-jz4750.o reset-jz4750.o diff --git a/arch/mips/pbl/Makefile b/arch/mips/pbl/Makefile index f85c7a6d6d..38dfbd4724 100644 --- a/arch/mips/pbl/Makefile +++ b/arch/mips/pbl/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only suffix_$(CONFIG_IMAGE_COMPRESSION_GZIP) = gzip suffix_$(CONFIG_IMAGE_COMPRESSION_LZO) = lzo -- cgit v1.2.3