From 598b29585ed9501e751b8d3faf3b6e017ad96baa Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 10 Feb 2021 14:52:34 +0100 Subject: [PATCH] target: use SPDX license identifiers on Makefiles Use SPDX license tags to allow machines to check licenses. Signed-off-by: Adrian Schmutzler --- target/linux/Makefile | 8 +++----- target/linux/apm821xx/Makefile | 6 ++---- target/linux/apm821xx/image/Makefile | 6 ++---- target/linux/apm821xx/nand/profiles/00-default.mk | 5 +---- target/linux/apm821xx/sata/profiles/00-default.mk | 5 +---- target/linux/arc770/Makefile | 6 ++---- target/linux/arc770/generic/profiles/00-default.mk | 5 +---- target/linux/arc770/image/Makefile | 6 ++---- target/linux/archs38/Makefile | 6 ++---- target/linux/archs38/generic/profiles/00-default.mk | 5 +---- target/linux/archs38/image/Makefile | 6 ++---- target/linux/armvirt/Makefile | 6 ++---- target/linux/armvirt/image/Makefile | 6 ++---- target/linux/at91/Makefile | 6 ++---- target/linux/at91/image/Makefile | 6 ++---- target/linux/at91/modules.mk | 5 +---- target/linux/ath25/Makefile | 6 ++---- target/linux/ath25/image/Makefile | 6 ++---- target/linux/ath25/profiles/00-default.mk | 5 +---- target/linux/bcm27xx/Makefile | 6 ++---- target/linux/bcm27xx/image/Makefile | 8 +++----- target/linux/bcm27xx/modules.mk | 5 +---- target/linux/bcm27xx/modules/hwmon.mk | 5 +---- target/linux/bcm27xx/modules/i2c.mk | 5 +---- target/linux/bcm27xx/modules/other.mk | 5 +---- target/linux/bcm27xx/modules/sound.mk | 5 +---- target/linux/bcm27xx/modules/spi.mk | 5 +---- target/linux/bcm27xx/modules/video.mk | 5 +---- target/linux/bcm47xx/Makefile | 6 ++---- target/linux/bcm47xx/generic/profiles/100-Broadcom-b43.mk | 5 +---- target/linux/bcm47xx/generic/profiles/101-Broadcom-wl.mk | 5 +---- .../linux/bcm47xx/generic/profiles/104-Broadcom-ath5k.mk | 5 +---- .../linux/bcm47xx/generic/profiles/105-Broadcom-none.mk | 5 +---- .../bcm47xx/generic/profiles/200-Broadcom-b44-b43.mk | 5 +---- .../linux/bcm47xx/generic/profiles/201-Broadcom-b44-wl.mk | 5 +---- .../bcm47xx/generic/profiles/204-Broadcom-b44-ath5k.mk | 5 +---- .../bcm47xx/generic/profiles/205-Broadcom-b44-none.mk | 5 +---- .../bcm47xx/generic/profiles/210-Broadcom-tg3-b43.mk | 5 +---- .../linux/bcm47xx/generic/profiles/211-Broadcom-tg3-wl.mk | 5 +---- .../bcm47xx/generic/profiles/215-Broadcom-tg3-none.mk | 5 +---- .../bcm47xx/generic/profiles/220-Broadcom-bgmac-b43.mk | 5 +---- .../bcm47xx/generic/profiles/221-Broadcom-bgmac-wl.mk | 5 +---- .../bcm47xx/generic/profiles/225-Broadcom-bgmac-none.mk | 5 +---- .../generic/profiles/226-Broadcom-bgmac-brcsmac.mk | 5 +---- target/linux/bcm47xx/generic/profiles/PS-1208MFG.mk | 5 +---- target/linux/bcm47xx/image/Makefile | 6 ++---- target/linux/bcm47xx/legacy/profiles/100-Broadcom-b43.mk | 5 +---- target/linux/bcm47xx/legacy/profiles/101-Broadcom-wl.mk | 5 +---- target/linux/bcm47xx/mips74k/profiles/100-Broadcom-b43.mk | 5 +---- .../bcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk | 5 +---- target/linux/bcm47xx/mips74k/profiles/102-Broadcom-wl.mk | 5 +---- .../linux/bcm47xx/mips74k/profiles/103-Broadcom-none.mk | 5 +---- target/linux/bcm47xx/modules.mk | 5 +---- target/linux/bcm53xx/Makefile | 6 ++---- target/linux/bcm53xx/image/Makefile | 6 ++---- target/linux/bcm53xx/modules.mk | 4 +--- target/linux/bcm53xx/profiles/100-Generic.mk | 5 +---- target/linux/bcm63xx/Makefile | 6 ++---- target/linux/bcm63xx/image/Makefile | 6 ++---- target/linux/bcm63xx/modules.mk | 5 +---- target/linux/bcm63xx/profiles/default.mk | 5 +---- target/linux/gemini/Makefile | 6 ++---- target/linux/gemini/image/Makefile | 6 ++---- target/linux/generic/image/Makefile | 8 +++----- target/linux/imx6/Makefile | 6 ++---- target/linux/imx6/image/Makefile | 6 ++---- target/linux/imx6/profiles/100-default.mk | 5 +---- target/linux/kirkwood/Makefile | 6 ++---- target/linux/kirkwood/image/Makefile | 5 +---- target/linux/lantiq/Makefile | 6 ++---- target/linux/lantiq/ase/target.mk | 6 ++---- target/linux/lantiq/image/Makefile | 5 +---- target/linux/lantiq/modules.mk | 5 +---- target/linux/layerscape/Makefile | 6 ++---- target/linux/layerscape/armv7/target.mk | 5 +---- target/linux/layerscape/armv8_64b/target.mk | 5 +---- target/linux/layerscape/image/Makefile | 6 ++---- target/linux/layerscape/image/armv7.mk | 5 +---- target/linux/layerscape/image/armv8_64b.mk | 5 +---- target/linux/layerscape/modules.mk | 5 +---- target/linux/malta/Makefile | 6 ++---- target/linux/malta/image/Makefile | 6 ++---- target/linux/mediatek/image/Makefile | 6 ++---- target/linux/mpc85xx/Makefile | 6 ++---- target/linux/mpc85xx/image/Makefile | 6 ++---- target/linux/mpc85xx/p1010/profiles/00-default.mk | 5 +---- target/linux/mpc85xx/p1020/profiles/00-default.mk | 5 +---- target/linux/mpc85xx/p2020/profiles/00-default.mk | 5 +---- target/linux/mvebu/Makefile | 6 ++---- target/linux/mvebu/cortexa53/target.mk | 5 +---- target/linux/mvebu/cortexa72/target.mk | 5 +---- target/linux/mvebu/cortexa9/target.mk | 5 +---- target/linux/mvebu/image/Makefile | 5 +---- target/linux/mvebu/image/cortexa9.mk | 5 +---- target/linux/mxs/Makefile | 6 ++---- target/linux/mxs/image/Makefile | 5 +---- target/linux/mxs/profiles/01-duckbill.mk | 5 +---- target/linux/mxs/profiles/02-olinuxino-maxi.mk | 5 +---- target/linux/mxs/profiles/03-olinuxino-micro.mk | 5 +---- target/linux/octeon/Makefile | 6 ++---- target/linux/octeon/image/Makefile | 6 ++---- target/linux/octeon/profiles/000-Generic.mk | 5 +---- target/linux/octeontx/Makefile | 6 ++---- target/linux/octeontx/image/Makefile | 6 ++---- target/linux/omap/Makefile | 5 +---- target/linux/omap/image/Makefile | 6 ++---- target/linux/omap/profiles/00-default.mk | 5 +---- target/linux/oxnas/ox820/profiles/00-default.mk | 5 +---- target/linux/pistachio/Makefile | 6 ++---- target/linux/pistachio/image/Makefile | 5 +---- target/linux/pistachio/profiles/00-default.mk | 5 +---- target/linux/ramips/Makefile | 6 ++---- target/linux/ramips/image/Makefile | 6 ++---- target/linux/ramips/modules.mk | 5 +---- target/linux/realtek/Makefile | 5 ++--- target/linux/realtek/image/Makefile | 5 ++--- target/linux/realtek/profiles/00-default.mk | 4 +--- target/linux/rockchip/Makefile | 6 ++---- target/linux/rockchip/image/Makefile | 6 ++---- target/linux/rockchip/image/armv8.mk | 7 ++----- target/linux/sunxi/Makefile | 5 +---- target/linux/sunxi/cortexa53/target.mk | 5 +---- target/linux/sunxi/cortexa7/target.mk | 5 +---- target/linux/sunxi/cortexa8/target.mk | 5 +---- target/linux/sunxi/image/Makefile | 6 ++---- target/linux/sunxi/image/cortexa53.mk | 5 +---- target/linux/sunxi/image/cortexa7.mk | 5 +---- target/linux/sunxi/image/cortexa8.mk | 5 +---- target/linux/sunxi/modules.mk | 4 +--- target/linux/sunxi/profiles/00-default.mk | 5 +---- target/linux/tegra/Makefile | 6 ++---- target/linux/tegra/image/Makefile | 6 ++---- target/linux/uml/Makefile | 6 ++---- target/linux/uml/image/Makefile | 8 +++----- target/linux/x86/Makefile | 6 ++---- target/linux/x86/image/Makefile | 6 ++---- target/linux/x86/modules.mk | 4 +--- target/linux/zynq/Makefile | 6 ++---- target/linux/zynq/image/Makefile | 6 ++---- 139 files changed, 203 insertions(+), 555 deletions(-) diff --git a/target/linux/Makefile b/target/linux/Makefile index 3a70b80bb3..a939d42bc0 100644 --- a/target/linux/Makefile +++ b/target/linux/Makefile @@ -1,9 +1,7 @@ -# -# Copyright (C) 2006-2007 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. +# SPDX-License-Identifier: GPL-2.0-only # +# Copyright (C) 2006-2007 OpenWrt.org + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/apm821xx/Makefile b/target/linux/apm821xx/Makefile index bae20d0d04..b2e8d8fd1c 100644 --- a/target/linux/apm821xx/Makefile +++ b/target/linux/apm821xx/Makefile @@ -1,7 +1,5 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only + include $(TOPDIR)/rules.mk ARCH:=powerpc diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile index c1cb2bcfdd..2737a32436 100644 --- a/target/linux/apm821xx/image/Makefile +++ b/target/linux/apm821xx/image/Makefile @@ -1,7 +1,5 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/apm821xx/nand/profiles/00-default.mk b/target/linux/apm821xx/nand/profiles/00-default.mk index 8c2203f5a9..8fcc479cff 100644 --- a/target/linux/apm821xx/nand/profiles/00-default.mk +++ b/target/linux/apm821xx/nand/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile diff --git a/target/linux/apm821xx/sata/profiles/00-default.mk b/target/linux/apm821xx/sata/profiles/00-default.mk index 887741abd3..a203821533 100644 --- a/target/linux/apm821xx/sata/profiles/00-default.mk +++ b/target/linux/apm821xx/sata/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile diff --git a/target/linux/arc770/Makefile b/target/linux/arc770/Makefile index 530fb1ea6e..1320c8283b 100644 --- a/target/linux/arc770/Makefile +++ b/target/linux/arc770/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arc diff --git a/target/linux/arc770/generic/profiles/00-default.mk b/target/linux/arc770/generic/profiles/00-default.mk index 9f69663170..02404305d4 100644 --- a/target/linux/arc770/generic/profiles/00-default.mk +++ b/target/linux/arc770/generic/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile (all drivers) diff --git a/target/linux/arc770/image/Makefile b/target/linux/arc770/image/Makefile index 260757845e..172eb06744 100644 --- a/target/linux/arc770/image/Makefile +++ b/target/linux/arc770/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/archs38/Makefile b/target/linux/archs38/Makefile index 5b3650ef8d..2746dcecce 100644 --- a/target/linux/archs38/Makefile +++ b/target/linux/archs38/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arc diff --git a/target/linux/archs38/generic/profiles/00-default.mk b/target/linux/archs38/generic/profiles/00-default.mk index 172ad4bcfb..38da896fa6 100644 --- a/target/linux/archs38/generic/profiles/00-default.mk +++ b/target/linux/archs38/generic/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile (all drivers) diff --git a/target/linux/archs38/image/Makefile b/target/linux/archs38/image/Makefile index 1e0d3e99fd..e8cfb63ce1 100644 --- a/target/linux/archs38/image/Makefile +++ b/target/linux/archs38/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/armvirt/Makefile b/target/linux/armvirt/Makefile index 4a8c6b092c..bf069952d9 100644 --- a/target/linux/armvirt/Makefile +++ b/target/linux/armvirt/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 Yousong Zhou -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk BOARD:=armvirt diff --git a/target/linux/armvirt/image/Makefile b/target/linux/armvirt/image/Makefile index 0292dbab42..5f9ef21d65 100644 --- a/target/linux/armvirt/image/Makefile +++ b/target/linux/armvirt/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016-2017 Yousong Zhou -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index e941f34669..fe6a93244a 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arm diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile index 25fc34eba0..e17e4d6a52 100644 --- a/target/linux/at91/image/Makefile +++ b/target/linux/at91/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/at91/modules.mk b/target/linux/at91/modules.mk index 998c042ee1..0590afef82 100644 --- a/target/linux/at91/modules.mk +++ b/target/linux/at91/modules.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/mmc-at91 SUBMENU:=$(OTHER_MENU) diff --git a/target/linux/ath25/Makefile b/target/linux/ath25/Makefile index 8b175fc194..1d8bee507b 100644 --- a/target/linux/ath25/Makefile +++ b/target/linux/ath25/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=mips diff --git a/target/linux/ath25/image/Makefile b/target/linux/ath25/image/Makefile index afc6c91259..a072f2408a 100644 --- a/target/linux/ath25/image/Makefile +++ b/target/linux/ath25/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/ath25/profiles/00-default.mk b/target/linux/ath25/profiles/00-default.mk index b40eb1b0ce..3aeb31064a 100644 --- a/target/linux/ath25/profiles/00-default.mk +++ b/target/linux/ath25/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile diff --git a/target/linux/bcm27xx/Makefile b/target/linux/bcm27xx/Makefile index d72e837a25..9329976b8d 100644 --- a/target/linux/bcm27xx/Makefile +++ b/target/linux/bcm27xx/Makefile @@ -1,10 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2012-2020 OpenWrt.org # Copyright (C) 2017 LEDE project -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arm diff --git a/target/linux/bcm27xx/image/Makefile b/target/linux/bcm27xx/image/Makefile index ec0255bc0d..fbef5ecbf4 100644 --- a/target/linux/bcm27xx/image/Makefile +++ b/target/linux/bcm27xx/image/Makefile @@ -1,10 +1,8 @@ -# +# SPDX-License-Identifier: GPL-2.0-only +# # Copyright (C) 2012-2019 OpenWrt.org # Copyright (C) 2016-2017 LEDE project -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/bcm27xx/modules.mk b/target/linux/bcm27xx/modules.mk index 480509193f..ec2b4edbd2 100644 --- a/target/linux/bcm27xx/modules.mk +++ b/target/linux/bcm27xx/modules.mk @@ -1,8 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/target/linux/bcm27xx/modules/*.mk diff --git a/target/linux/bcm27xx/modules/hwmon.mk b/target/linux/bcm27xx/modules/hwmon.mk index 5081cee1d3..316f0b8419 100644 --- a/target/linux/bcm27xx/modules/hwmon.mk +++ b/target/linux/bcm27xx/modules/hwmon.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/hwmon-raspberrypi TITLE:=Raspberry Pi voltage monitor diff --git a/target/linux/bcm27xx/modules/i2c.mk b/target/linux/bcm27xx/modules/i2c.mk index 15beac41e5..ba266b29f2 100644 --- a/target/linux/bcm27xx/modules/i2c.mk +++ b/target/linux/bcm27xx/modules/i2c.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# I2C_BCM2835_MODULES:=\ CONFIG_I2C_BCM2835:drivers/i2c/busses/i2c-bcm2835 diff --git a/target/linux/bcm27xx/modules/other.mk b/target/linux/bcm27xx/modules/other.mk index 54e12c7bb9..2d4aa3c079 100644 --- a/target/linux/bcm27xx/modules/other.mk +++ b/target/linux/bcm27xx/modules/other.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/pwm-bcm2835 SUBMENU:=$(OTHER_MENU) diff --git a/target/linux/bcm27xx/modules/sound.mk b/target/linux/bcm27xx/modules/sound.mk index a4aeb629c3..8c6f1bf49c 100644 --- a/target/linux/bcm27xx/modules/sound.mk +++ b/target/linux/bcm27xx/modules/sound.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/sound-arm-bcm2835 TITLE:=BCM2835 ALSA driver diff --git a/target/linux/bcm27xx/modules/spi.mk b/target/linux/bcm27xx/modules/spi.mk index 8840852149..948978dd44 100644 --- a/target/linux/bcm27xx/modules/spi.mk +++ b/target/linux/bcm27xx/modules/spi.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/spi-bcm2835 SUBMENU:=$(SPI_MENU) diff --git a/target/linux/bcm27xx/modules/video.mk b/target/linux/bcm27xx/modules/video.mk index f7286cee3c..2eff4a45d5 100644 --- a/target/linux/bcm27xx/modules/video.mk +++ b/target/linux/bcm27xx/modules/video.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2019 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/camera-bcm2835 TITLE:=BCM2835 Camera diff --git a/target/linux/bcm47xx/Makefile b/target/linux/bcm47xx/Makefile index 6be852919c..9ffd4f3f29 100644 --- a/target/linux/bcm47xx/Makefile +++ b/target/linux/bcm47xx/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2008 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=mipsel diff --git a/target/linux/bcm47xx/generic/profiles/100-Broadcom-b43.mk b/target/linux/bcm47xx/generic/profiles/100-Broadcom-b43.mk index 4c420fb299..8ff95b4dd9 100644 --- a/target/linux/bcm47xx/generic/profiles/100-Broadcom-b43.mk +++ b/target/linux/bcm47xx/generic/profiles/100-Broadcom-b43.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-b43 NAME:=Broadcom SoC, all Ethernet, BCM43xx WiFi (b43, default) diff --git a/target/linux/bcm47xx/generic/profiles/101-Broadcom-wl.mk b/target/linux/bcm47xx/generic/profiles/101-Broadcom-wl.mk index db0a31d6ca..498bc7bfda 100644 --- a/target/linux/bcm47xx/generic/profiles/101-Broadcom-wl.mk +++ b/target/linux/bcm47xx/generic/profiles/101-Broadcom-wl.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-wl NAME:=Broadcom SoC, all Ethernet, BCM43xx WiFi (wl, proprietary) diff --git a/target/linux/bcm47xx/generic/profiles/104-Broadcom-ath5k.mk b/target/linux/bcm47xx/generic/profiles/104-Broadcom-ath5k.mk index ca5295f7e3..e66b251691 100644 --- a/target/linux/bcm47xx/generic/profiles/104-Broadcom-ath5k.mk +++ b/target/linux/bcm47xx/generic/profiles/104-Broadcom-ath5k.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-ath5k NAME:=Broadcom SoC, all Ethernet, Atheros WiFi (ath5k) diff --git a/target/linux/bcm47xx/generic/profiles/105-Broadcom-none.mk b/target/linux/bcm47xx/generic/profiles/105-Broadcom-none.mk index 9c66d57967..0b883825d0 100644 --- a/target/linux/bcm47xx/generic/profiles/105-Broadcom-none.mk +++ b/target/linux/bcm47xx/generic/profiles/105-Broadcom-none.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-none NAME:=Broadcom SoC, all Ethernet, No WiFi diff --git a/target/linux/bcm47xx/generic/profiles/200-Broadcom-b44-b43.mk b/target/linux/bcm47xx/generic/profiles/200-Broadcom-b44-b43.mk index 662a7c8e94..0231bff642 100644 --- a/target/linux/bcm47xx/generic/profiles/200-Broadcom-b44-b43.mk +++ b/target/linux/bcm47xx/generic/profiles/200-Broadcom-b44-b43.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-b44-b43 NAME:=Broadcom SoC, b44 Ethernet, BCM43xx WiFi (b43, default) diff --git a/target/linux/bcm47xx/generic/profiles/201-Broadcom-b44-wl.mk b/target/linux/bcm47xx/generic/profiles/201-Broadcom-b44-wl.mk index fe6c2d8f87..5d55398dfc 100644 --- a/target/linux/bcm47xx/generic/profiles/201-Broadcom-b44-wl.mk +++ b/target/linux/bcm47xx/generic/profiles/201-Broadcom-b44-wl.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-b44-wl NAME:=Broadcom SoC, b44 Ethernet, BCM43xx WiFi (wl, proprietary) diff --git a/target/linux/bcm47xx/generic/profiles/204-Broadcom-b44-ath5k.mk b/target/linux/bcm47xx/generic/profiles/204-Broadcom-b44-ath5k.mk index e9dda49d66..fd9ee6fd15 100644 --- a/target/linux/bcm47xx/generic/profiles/204-Broadcom-b44-ath5k.mk +++ b/target/linux/bcm47xx/generic/profiles/204-Broadcom-b44-ath5k.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-b44-ath5k NAME:=Broadcom SoC, b44 Ethernet, Atheros WiFi (ath5k) diff --git a/target/linux/bcm47xx/generic/profiles/205-Broadcom-b44-none.mk b/target/linux/bcm47xx/generic/profiles/205-Broadcom-b44-none.mk index 6c409057cc..79a223a316 100644 --- a/target/linux/bcm47xx/generic/profiles/205-Broadcom-b44-none.mk +++ b/target/linux/bcm47xx/generic/profiles/205-Broadcom-b44-none.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-b44-none NAME:=Broadcom SoC, b44 Ethernet, No WiFi diff --git a/target/linux/bcm47xx/generic/profiles/210-Broadcom-tg3-b43.mk b/target/linux/bcm47xx/generic/profiles/210-Broadcom-tg3-b43.mk index a0bece914d..69c59c503f 100644 --- a/target/linux/bcm47xx/generic/profiles/210-Broadcom-tg3-b43.mk +++ b/target/linux/bcm47xx/generic/profiles/210-Broadcom-tg3-b43.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-tg3-b43 NAME:=Broadcom SoC, tg3 Ethernet, BCM43xx WiFi (b43) diff --git a/target/linux/bcm47xx/generic/profiles/211-Broadcom-tg3-wl.mk b/target/linux/bcm47xx/generic/profiles/211-Broadcom-tg3-wl.mk index 20acd75bc5..f594027662 100644 --- a/target/linux/bcm47xx/generic/profiles/211-Broadcom-tg3-wl.mk +++ b/target/linux/bcm47xx/generic/profiles/211-Broadcom-tg3-wl.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-tg3-wl NAME:=Broadcom SoC, tg3 Ethernet, BCM43xx WiFi (wl, proprietary) diff --git a/target/linux/bcm47xx/generic/profiles/215-Broadcom-tg3-none.mk b/target/linux/bcm47xx/generic/profiles/215-Broadcom-tg3-none.mk index 7974279bc4..a75e49cb05 100644 --- a/target/linux/bcm47xx/generic/profiles/215-Broadcom-tg3-none.mk +++ b/target/linux/bcm47xx/generic/profiles/215-Broadcom-tg3-none.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-tg3-none NAME:=Broadcom SoC, tg3 Ethernet, no WiFi diff --git a/target/linux/bcm47xx/generic/profiles/220-Broadcom-bgmac-b43.mk b/target/linux/bcm47xx/generic/profiles/220-Broadcom-bgmac-b43.mk index 6ef0691a4c..4d05421c8e 100644 --- a/target/linux/bcm47xx/generic/profiles/220-Broadcom-bgmac-b43.mk +++ b/target/linux/bcm47xx/generic/profiles/220-Broadcom-bgmac-b43.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-bgmac-b43 NAME:=Broadcom SoC, bgmac Ethernet, BCM43xx WiFi (b43) diff --git a/target/linux/bcm47xx/generic/profiles/221-Broadcom-bgmac-wl.mk b/target/linux/bcm47xx/generic/profiles/221-Broadcom-bgmac-wl.mk index bb7e7c2c9c..b426b99d37 100644 --- a/target/linux/bcm47xx/generic/profiles/221-Broadcom-bgmac-wl.mk +++ b/target/linux/bcm47xx/generic/profiles/221-Broadcom-bgmac-wl.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-bgmac-wl NAME:=Broadcom SoC, bgmac Ethernet, BCM43xx WiFi (wl, proprietary) diff --git a/target/linux/bcm47xx/generic/profiles/225-Broadcom-bgmac-none.mk b/target/linux/bcm47xx/generic/profiles/225-Broadcom-bgmac-none.mk index 77299cd501..8ce675543e 100644 --- a/target/linux/bcm47xx/generic/profiles/225-Broadcom-bgmac-none.mk +++ b/target/linux/bcm47xx/generic/profiles/225-Broadcom-bgmac-none.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-bgmac-none NAME:=Broadcom SoC, bgmac Ethernet, No WiFi diff --git a/target/linux/bcm47xx/generic/profiles/226-Broadcom-bgmac-brcsmac.mk b/target/linux/bcm47xx/generic/profiles/226-Broadcom-bgmac-brcsmac.mk index d9dc9e7a4a..93a76dc32c 100644 --- a/target/linux/bcm47xx/generic/profiles/226-Broadcom-bgmac-brcsmac.mk +++ b/target/linux/bcm47xx/generic/profiles/226-Broadcom-bgmac-brcsmac.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-bgmac-brcmsmac NAME:=Broadcom SoC, bgmac Ethernet, BCM43xx WiFi (brcmsmac) diff --git a/target/linux/bcm47xx/generic/profiles/PS-1208MFG.mk b/target/linux/bcm47xx/generic/profiles/PS-1208MFG.mk index 90c2688c8e..88b417840a 100644 --- a/target/linux/bcm47xx/generic/profiles/PS-1208MFG.mk +++ b/target/linux/bcm47xx/generic/profiles/PS-1208MFG.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Ps1208mfg NAME:=Edimax PS-1208MFG diff --git a/target/linux/bcm47xx/image/Makefile b/target/linux/bcm47xx/image/Makefile index e08a3125bd..2aeef178a4 100644 --- a/target/linux/bcm47xx/image/Makefile +++ b/target/linux/bcm47xx/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/bcm47xx/legacy/profiles/100-Broadcom-b43.mk b/target/linux/bcm47xx/legacy/profiles/100-Broadcom-b43.mk index 50d777010b..c54f11bb89 100644 --- a/target/linux/bcm47xx/legacy/profiles/100-Broadcom-b43.mk +++ b/target/linux/bcm47xx/legacy/profiles/100-Broadcom-b43.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-b43 NAME:=Broadcom SoC, all Ethernet, BCM43xx WiFi (b43, default) diff --git a/target/linux/bcm47xx/legacy/profiles/101-Broadcom-wl.mk b/target/linux/bcm47xx/legacy/profiles/101-Broadcom-wl.mk index 26bbacf3be..a4c58f6334 100644 --- a/target/linux/bcm47xx/legacy/profiles/101-Broadcom-wl.mk +++ b/target/linux/bcm47xx/legacy/profiles/101-Broadcom-wl.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-wl NAME:=Broadcom SoC, all Ethernet, BCM43xx WiFi (wl, proprietary) diff --git a/target/linux/bcm47xx/mips74k/profiles/100-Broadcom-b43.mk b/target/linux/bcm47xx/mips74k/profiles/100-Broadcom-b43.mk index bd3b010f69..b91179cf2a 100644 --- a/target/linux/bcm47xx/mips74k/profiles/100-Broadcom-b43.mk +++ b/target/linux/bcm47xx/mips74k/profiles/100-Broadcom-b43.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-mips74k-b43 NAME:=Broadcom SoC, BCM43xx WiFi (b43) diff --git a/target/linux/bcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk b/target/linux/bcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk index a138ef93b0..e31b37278d 100644 --- a/target/linux/bcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk +++ b/target/linux/bcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-mips74k-brcmsmac NAME:=Broadcom SoC, BCM43xx WiFi (brcmsmac) diff --git a/target/linux/bcm47xx/mips74k/profiles/102-Broadcom-wl.mk b/target/linux/bcm47xx/mips74k/profiles/102-Broadcom-wl.mk index 8f60c7ee32..66a44dc0fb 100644 --- a/target/linux/bcm47xx/mips74k/profiles/102-Broadcom-wl.mk +++ b/target/linux/bcm47xx/mips74k/profiles/102-Broadcom-wl.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-mips74k-wl NAME:=Broadcom SoC, BCM43xx WiFi (proprietary wl) diff --git a/target/linux/bcm47xx/mips74k/profiles/103-Broadcom-none.mk b/target/linux/bcm47xx/mips74k/profiles/103-Broadcom-none.mk index 66e9a9f0f7..d5e3f57fcd 100644 --- a/target/linux/bcm47xx/mips74k/profiles/103-Broadcom-none.mk +++ b/target/linux/bcm47xx/mips74k/profiles/103-Broadcom-none.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Broadcom-mips74k-none NAME:=Broadcom SoC, No WiFi diff --git a/target/linux/bcm47xx/modules.mk b/target/linux/bcm47xx/modules.mk index cd46901a3b..5924694a53 100644 --- a/target/linux/bcm47xx/modules.mk +++ b/target/linux/bcm47xx/modules.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/bgmac TITLE:=Broadcom bgmac driver diff --git a/target/linux/bcm53xx/Makefile b/target/linux/bcm53xx/Makefile index ac118c0153..bb356ff244 100644 --- a/target/linux/bcm53xx/Makefile +++ b/target/linux/bcm53xx/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arm diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile index 90343b1e88..0ba067d364 100644 --- a/target/linux/bcm53xx/image/Makefile +++ b/target/linux/bcm53xx/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/bcm53xx/modules.mk b/target/linux/bcm53xx/modules.mk index 6432a7f577..e43231f376 100644 --- a/target/linux/bcm53xx/modules.mk +++ b/target/linux/bcm53xx/modules.mk @@ -1,8 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 Rafał Miłecki -# -# This is free software, licensed under the GNU General Public License v2. -# define KernelPackage/phy-bcm-ns-usb2 TITLE:=Broadcom Northstar USB 2.0 PHY Driver diff --git a/target/linux/bcm53xx/profiles/100-Generic.mk b/target/linux/bcm53xx/profiles/100-Generic.mk index b57258666e..9dc60b0a76 100644 --- a/target/linux/bcm53xx/profiles/100-Generic.mk +++ b/target/linux/bcm53xx/profiles/100-Generic.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Generic NAME:=Broadcom SoC, BCM43xx WiFi (b43, brcmfmac, default) diff --git a/target/linux/bcm63xx/Makefile b/target/linux/bcm63xx/Makefile index d87918f0f5..e2fa6a5e23 100644 --- a/target/linux/bcm63xx/Makefile +++ b/target/linux/bcm63xx/Makefile @@ -1,10 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2019 OpenWrt.org # Copyright (C) 2016 LEDE project -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=mips diff --git a/target/linux/bcm63xx/image/Makefile b/target/linux/bcm63xx/image/Makefile index d8e68862b3..822e26e993 100644 --- a/target/linux/bcm63xx/image/Makefile +++ b/target/linux/bcm63xx/image/Makefile @@ -1,10 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2015 OpenWrt.org # Copyright (C) 2016 LEDE project -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/bcm63xx/modules.mk b/target/linux/bcm63xx/modules.mk index bc244c8d7d..c329f3865a 100644 --- a/target/linux/bcm63xx/modules.mk +++ b/target/linux/bcm63xx/modules.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/pcmcia-bcm63xx SUBMENU:=$(PCMCIA_MENU) diff --git a/target/linux/bcm63xx/profiles/default.mk b/target/linux/bcm63xx/profiles/default.mk index 2df9d062ff..6928cdb764 100644 --- a/target/linux/bcm63xx/profiles/default.mk +++ b/target/linux/bcm63xx/profiles/default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 LEDE project -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile diff --git a/target/linux/gemini/Makefile b/target/linux/gemini/Makefile index d30b8d3ac8..d2acb52fac 100644 --- a/target/linux/gemini/Makefile +++ b/target/linux/gemini/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2009-2018 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arm diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile index 0eae4c6bd8..9906808c9e 100644 --- a/target/linux/gemini/image/Makefile +++ b/target/linux/gemini/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2009-2018 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/generic/image/Makefile b/target/linux/generic/image/Makefile index e733e0a37a..56ea9f6f1e 100644 --- a/target/linux/generic/image/Makefile +++ b/target/linux/generic/image/Makefile @@ -1,9 +1,7 @@ -# -# Copyright (C) 2006-2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. +# SPDX-License-Identifier: GPL-2.0-only # +# Copyright (C) 2006-2010 OpenWrt.org + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile index 2a18c44117..65fd92ed49 100644 --- a/target/linux/imx6/Makefile +++ b/target/linux/imx6/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arm diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 2c9d03c039..f6dc461f7d 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/imx6/profiles/100-default.mk b/target/linux/imx6/profiles/100-default.mk index 60b3ef538b..28b0f4662c 100644 --- a/target/linux/imx6/profiles/100-default.mk +++ b/target/linux/imx6/profiles/100-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default PRIORITY:=1 diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile index c50c03b548..94bee8ba2d 100644 --- a/target/linux/kirkwood/Makefile +++ b/target/linux/kirkwood/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2009-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arm diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index 9d2d60e55f..e06eb050ef 100644 --- a/target/linux/kirkwood/image/Makefile +++ b/target/linux/kirkwood/image/Makefile @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2009-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/lantiq/Makefile b/target/linux/lantiq/Makefile index ee305e7ce2..fc8aad4265 100644 --- a/target/linux/lantiq/Makefile +++ b/target/linux/lantiq/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2007-2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk BOARD:=lantiq diff --git a/target/linux/lantiq/ase/target.mk b/target/linux/lantiq/ase/target.mk index daabbfc74a..694fe6c2a7 100644 --- a/target/linux/lantiq/ase/target.mk +++ b/target/linux/lantiq/ase/target.mk @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 LEDE Project -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + ARCH:=mips SUBTARGET:=ase BOARDNAME:=Amazon-SE diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index a4ba22dfc4..c90975d098 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010-2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# # boards missing since devicetree update #EASY50712 ARV3527P diff --git a/target/linux/lantiq/modules.mk b/target/linux/lantiq/modules.mk index 8cd720093c..14140b1095 100644 --- a/target/linux/lantiq/modules.mk +++ b/target/linux/lantiq/modules.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# I2C_LANTIQ_MODULES:= \ CONFIG_I2C_LANTIQ:drivers/i2c/busses/i2c-lantiq diff --git a/target/linux/layerscape/Makefile b/target/linux/layerscape/Makefile index 9030747823..71034224ab 100644 --- a/target/linux/layerscape/Makefile +++ b/target/linux/layerscape/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 Jiang Yutang -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk BOARD:=layerscape diff --git a/target/linux/layerscape/armv7/target.mk b/target/linux/layerscape/armv7/target.mk index bfc6c09d42..1730ca5637 100644 --- a/target/linux/layerscape/armv7/target.mk +++ b/target/linux/layerscape/armv7/target.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright 2018 NXP -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# ARCH:=arm BOARDNAME:=ARMv7 based boards diff --git a/target/linux/layerscape/armv8_64b/target.mk b/target/linux/layerscape/armv8_64b/target.mk index 274a729440..c9a61701a9 100644 --- a/target/linux/layerscape/armv8_64b/target.mk +++ b/target/linux/layerscape/armv8_64b/target.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 Jiang Yutang -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# ARCH:=aarch64 BOARDNAME:=ARMv8 64-bit based boards diff --git a/target/linux/layerscape/image/Makefile b/target/linux/layerscape/image/Makefile index bfc4af4ca4..3c8bdea480 100644 --- a/target/linux/layerscape/image/Makefile +++ b/target/linux/layerscape/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 Jiang Yutang -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/layerscape/image/armv7.mk b/target/linux/layerscape/image/armv7.mk index 62921a5ef9..4ab2cec224 100644 --- a/target/linux/layerscape/image/armv7.mk +++ b/target/linux/layerscape/image/armv7.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright 2018-2020 NXP -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Device/Default PROFILES := Default diff --git a/target/linux/layerscape/image/armv8_64b.mk b/target/linux/layerscape/image/armv8_64b.mk index a3f4428299..75d6885c6d 100644 --- a/target/linux/layerscape/image/armv8_64b.mk +++ b/target/linux/layerscape/image/armv8_64b.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright 2018-2020 NXP -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Device/Default PROFILES := Default diff --git a/target/linux/layerscape/modules.mk b/target/linux/layerscape/modules.mk index 4d713b597e..11e75ee749 100644 --- a/target/linux/layerscape/modules.mk +++ b/target/linux/layerscape/modules.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) Jiang Yutang -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define KernelPackage/ahci-qoriq SUBMENU:=$(BLOCK_MENU) diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile index 4beeb64b8b..18b463f1ea 100644 --- a/target/linux/malta/Makefile +++ b/target/linux/malta/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010-2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk BOARD:=malta diff --git a/target/linux/malta/image/Makefile b/target/linux/malta/image/Makefile index 72e7eab807..514ff58427 100644 --- a/target/linux/malta/image/Makefile +++ b/target/linux/malta/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/mediatek/image/Makefile b/target/linux/mediatek/image/Makefile index 36ecdd5a9b..45e83cece5 100644 --- a/target/linux/mediatek/image/Makefile +++ b/target/linux/mediatek/image/Makefile @@ -1,10 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2012-2015 OpenWrt.org # Copyright (C) 2016-2017 LEDE project -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile index 94384a8866..b1771dfd8e 100644 --- a/target/linux/mpc85xx/Makefile +++ b/target/linux/mpc85xx/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=powerpc diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index 618b8c7135..b9582a2552 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -1,7 +1,5 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/mpc85xx/p1010/profiles/00-default.mk b/target/linux/mpc85xx/p1010/profiles/00-default.mk index 5356aaa939..32cf2627f5 100644 --- a/target/linux/mpc85xx/p1010/profiles/00-default.mk +++ b/target/linux/mpc85xx/p1010/profiles/00-default.mk @@ -1,7 +1,4 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only define Profile/Default NAME:=Default Profile diff --git a/target/linux/mpc85xx/p1020/profiles/00-default.mk b/target/linux/mpc85xx/p1020/profiles/00-default.mk index 67d43020a2..4235421457 100644 --- a/target/linux/mpc85xx/p1020/profiles/00-default.mk +++ b/target/linux/mpc85xx/p1020/profiles/00-default.mk @@ -1,7 +1,4 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only define Profile/Default NAME:=Default Profile diff --git a/target/linux/mpc85xx/p2020/profiles/00-default.mk b/target/linux/mpc85xx/p2020/profiles/00-default.mk index c9ea67df08..711997d422 100644 --- a/target/linux/mpc85xx/p2020/profiles/00-default.mk +++ b/target/linux/mpc85xx/p2020/profiles/00-default.mk @@ -1,7 +1,4 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only define Profile/Default NAME:=Default Profile diff --git a/target/linux/mvebu/Makefile b/target/linux/mvebu/Makefile index b9a6a79fe5..1e67bcfacb 100644 --- a/target/linux/mvebu/Makefile +++ b/target/linux/mvebu/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2012-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk BOARD:=mvebu diff --git a/target/linux/mvebu/cortexa53/target.mk b/target/linux/mvebu/cortexa53/target.mk index fe89d08ffa..fcf658c398 100644 --- a/target/linux/mvebu/cortexa53/target.mk +++ b/target/linux/mvebu/cortexa53/target.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 Hauke Mehrtens -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk diff --git a/target/linux/mvebu/cortexa72/target.mk b/target/linux/mvebu/cortexa72/target.mk index 540ef1104f..8601077b38 100644 --- a/target/linux/mvebu/cortexa72/target.mk +++ b/target/linux/mvebu/cortexa72/target.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2018 Sartura Ltd. -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk diff --git a/target/linux/mvebu/cortexa9/target.mk b/target/linux/mvebu/cortexa9/target.mk index cdd4d86e49..02697fa62d 100644 --- a/target/linux/mvebu/cortexa9/target.mk +++ b/target/linux/mvebu/cortexa9/target.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 Hauke Mehrtens -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index 77548d683e..871b622ae2 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2012-2016 OpenWrt.org # Copyright (C) 2016 LEDE-project.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# JFFS2_BLOCKSIZE = 128k diff --git a/target/linux/mvebu/image/cortexa9.mk b/target/linux/mvebu/image/cortexa9.mk index 968e2a38f4..61f4d17813 100644 --- a/target/linux/mvebu/image/cortexa9.mk +++ b/target/linux/mvebu/image/cortexa9.mk @@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2012-2016 OpenWrt.org # Copyright (C) 2016 LEDE-project.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Device/dsa-migration DEVICE_COMPAT_VERSION := 1.1 diff --git a/target/linux/mxs/Makefile b/target/linux/mxs/Makefile index 291322f2bd..c8c97d827d 100644 --- a/target/linux/mxs/Makefile +++ b/target/linux/mxs/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arm diff --git a/target/linux/mxs/image/Makefile b/target/linux/mxs/image/Makefile index 7c332cd7c2..bcb6001bac 100644 --- a/target/linux/mxs/image/Makefile +++ b/target/linux/mxs/image/Makefile @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/mxs/profiles/01-duckbill.mk b/target/linux/mxs/profiles/01-duckbill.mk index 5224c3cfed..d7202a4422 100644 --- a/target/linux/mxs/profiles/01-duckbill.mk +++ b/target/linux/mxs/profiles/01-duckbill.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/duckbill NAME:=I2SE Duckbill boards diff --git a/target/linux/mxs/profiles/02-olinuxino-maxi.mk b/target/linux/mxs/profiles/02-olinuxino-maxi.mk index 5c8ab287dd..662c9f2254 100644 --- a/target/linux/mxs/profiles/02-olinuxino-maxi.mk +++ b/target/linux/mxs/profiles/02-olinuxino-maxi.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/olinuxino-maxi NAME:=Olimex OLinuXino Maxi/Mini boards diff --git a/target/linux/mxs/profiles/03-olinuxino-micro.mk b/target/linux/mxs/profiles/03-olinuxino-micro.mk index 62de50151d..31a767188c 100644 --- a/target/linux/mxs/profiles/03-olinuxino-micro.mk +++ b/target/linux/mxs/profiles/03-olinuxino-micro.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/olinuxino-micro NAME:=Olimex OLinuXino Micro/Nano boards diff --git a/target/linux/octeon/Makefile b/target/linux/octeon/Makefile index bd8dc80d07..5c4c12a4ef 100644 --- a/target/linux/octeon/Makefile +++ b/target/linux/octeon/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=mips64 diff --git a/target/linux/octeon/image/Makefile b/target/linux/octeon/image/Makefile index b91c262447..8e97280479 100644 --- a/target/linux/octeon/image/Makefile +++ b/target/linux/octeon/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2009-2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/octeon/profiles/000-Generic.mk b/target/linux/octeon/profiles/000-Generic.mk index d4c5767577..6d5aa4e2bd 100644 --- a/target/linux/octeon/profiles/000-Generic.mk +++ b/target/linux/octeon/profiles/000-Generic.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile index 67addbd424..c30799b744 100644 --- a/target/linux/octeontx/Makefile +++ b/target/linux/octeontx/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2018 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=aarch64 diff --git a/target/linux/octeontx/image/Makefile b/target/linux/octeontx/image/Makefile index 203f0ea5c6..c564e6f4bc 100644 --- a/target/linux/octeontx/image/Makefile +++ b/target/linux/octeontx/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2018 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/omap/Makefile b/target/linux/omap/Makefile index a674bfb2ca..0643d3ad84 100644 --- a/target/linux/omap/Makefile +++ b/target/linux/omap/Makefile @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2012-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk diff --git a/target/linux/omap/image/Makefile b/target/linux/omap/image/Makefile index 24c22165c2..10c6d0ad68 100644 --- a/target/linux/omap/image/Makefile +++ b/target/linux/omap/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2012-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/omap/profiles/00-default.mk b/target/linux/omap/profiles/00-default.mk index 56e7a34c75..73338d8652 100644 --- a/target/linux/omap/profiles/00-default.mk +++ b/target/linux/omap/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile diff --git a/target/linux/oxnas/ox820/profiles/00-default.mk b/target/linux/oxnas/ox820/profiles/00-default.mk index c68d7cd9d6..c785dd29b3 100644 --- a/target/linux/oxnas/ox820/profiles/00-default.mk +++ b/target/linux/oxnas/ox820/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile diff --git a/target/linux/pistachio/Makefile b/target/linux/pistachio/Makefile index 672cd3f629..962871af13 100644 --- a/target/linux/pistachio/Makefile +++ b/target/linux/pistachio/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=mipsel diff --git a/target/linux/pistachio/image/Makefile b/target/linux/pistachio/image/Makefile index 5d2e42f139..7f4e2236c5 100644 --- a/target/linux/pistachio/image/Makefile +++ b/target/linux/pistachio/image/Makefile @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/pistachio/profiles/00-default.mk b/target/linux/pistachio/profiles/00-default.mk index f40be3d667..db6fb28845 100644 --- a/target/linux/pistachio/profiles/00-default.mk +++ b/target/linux/pistachio/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile index c3d118b2ab..2cfb3c5cef 100644 --- a/target/linux/ramips/Makefile +++ b/target/linux/ramips/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2008-2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=mipsel diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 21bd135a62..5937970a37 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2008-2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk index ae5e6822de..96e3d91a83 100644 --- a/target/linux/ramips/modules.mk +++ b/target/linux/ramips/modules.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# OTHER_MENU:=Other modules diff --git a/target/linux/realtek/Makefile b/target/linux/realtek/Makefile index 02eefe26fb..5159a40c4c 100644 --- a/target/linux/realtek/Makefile +++ b/target/linux/realtek/Makefile @@ -1,6 +1,5 @@ -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only + include $(TOPDIR)/rules.mk ARCH:=mips diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile index 8ad7ad1b5d..29350d8ae5 100644 --- a/target/linux/realtek/image/Makefile +++ b/target/linux/realtek/image/Makefile @@ -1,6 +1,5 @@ -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/realtek/profiles/00-default.mk b/target/linux/realtek/profiles/00-default.mk index 7f2053da55..942b0f1496 100644 --- a/target/linux/realtek/profiles/00-default.mk +++ b/target/linux/realtek/profiles/00-default.mk @@ -1,6 +1,4 @@ -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only define Profile/Default NAME:=Default Profile diff --git a/target/linux/rockchip/Makefile b/target/linux/rockchip/Makefile index 8daaad34a7..bcc0cc3f8f 100644 --- a/target/linux/rockchip/Makefile +++ b/target/linux/rockchip/Makefile @@ -1,7 +1,5 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only + include $(TOPDIR)/rules.mk BOARD:=rockchip diff --git a/target/linux/rockchip/image/Makefile b/target/linux/rockchip/image/Makefile index 022661623a..f5fdff637f 100644 --- a/target/linux/rockchip/image/Makefile +++ b/target/linux/rockchip/image/Makefile @@ -1,7 +1,5 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk index dbabce97bf..24b1c38137 100644 --- a/target/linux/rockchip/image/armv8.mk +++ b/target/linux/rockchip/image/armv8.mk @@ -1,9 +1,6 @@ -# -# Copyright (C) 2020 Tobias Maedel -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. +# SPDX-License-Identifier: GPL-2.0-only # +# Copyright (C) 2020 Tobias Maedel define Device/friendlyarm_nanopi-r2s DEVICE_VENDOR := FriendlyARM diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile index 1b1c30628f..1e07520db8 100644 --- a/target/linux/sunxi/Makefile +++ b/target/linux/sunxi/Makefile @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk diff --git a/target/linux/sunxi/cortexa53/target.mk b/target/linux/sunxi/cortexa53/target.mk index 435d88f5f4..9e3a4064be 100644 --- a/target/linux/sunxi/cortexa53/target.mk +++ b/target/linux/sunxi/cortexa53/target.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 Hauke Mehrtens -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk diff --git a/target/linux/sunxi/cortexa7/target.mk b/target/linux/sunxi/cortexa7/target.mk index 238eb17ac1..95315fd4a4 100644 --- a/target/linux/sunxi/cortexa7/target.mk +++ b/target/linux/sunxi/cortexa7/target.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 Hauke Mehrtens -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk diff --git a/target/linux/sunxi/cortexa8/target.mk b/target/linux/sunxi/cortexa8/target.mk index d7d18f6ca4..cf30ca7877 100644 --- a/target/linux/sunxi/cortexa8/target.mk +++ b/target/linux/sunxi/cortexa8/target.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 Hauke Mehrtens -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# include $(TOPDIR)/rules.mk diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 572c0597e8..738585accc 100644 --- a/target/linux/sunxi/image/Makefile +++ b/target/linux/sunxi/image/Makefile @@ -1,10 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2016 OpenWrt.org # Copyright (C) 2016 Yousong Zhou -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/sunxi/image/cortexa53.mk b/target/linux/sunxi/image/cortexa53.mk index 536fa2417a..117d25ea90 100644 --- a/target/linux/sunxi/image/cortexa53.mk +++ b/target/linux/sunxi/image/cortexa53.mk @@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2016 OpenWrt.org # Copyright (C) 2016 Yousong Zhou -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Device/sun50i SUNXI_DTS_DIR := allwinner/ diff --git a/target/linux/sunxi/image/cortexa7.mk b/target/linux/sunxi/image/cortexa7.mk index baa3e56b44..b55e93b7fb 100644 --- a/target/linux/sunxi/image/cortexa7.mk +++ b/target/linux/sunxi/image/cortexa7.mk @@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2019 OpenWrt.org # Copyright (C) 2016 Yousong Zhou -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Device/cubietech_cubieboard2 DEVICE_VENDOR := Cubietech diff --git a/target/linux/sunxi/image/cortexa8.mk b/target/linux/sunxi/image/cortexa8.mk index 643b3d4b1e..9f55774379 100644 --- a/target/linux/sunxi/image/cortexa8.mk +++ b/target/linux/sunxi/image/cortexa8.mk @@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2016 OpenWrt.org # Copyright (C) 2016 Yousong Zhou -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Device/cubietech_a10-cubieboard DEVICE_VENDOR := Cubietech diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk index 6d2de98658..99f4db7604 100644 --- a/target/linux/sunxi/modules.mk +++ b/target/linux/sunxi/modules.mk @@ -1,8 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2013-2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. define KernelPackage/rtc-sunxi SUBMENU:=$(OTHER_MENU) diff --git a/target/linux/sunxi/profiles/00-default.mk b/target/linux/sunxi/profiles/00-default.mk index 7dc791ecde..0541087a48 100644 --- a/target/linux/sunxi/profiles/00-default.mk +++ b/target/linux/sunxi/profiles/00-default.mk @@ -1,9 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 Yousong Zhou -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# define Profile/Default NAME:=Default Profile (all drivers) diff --git a/target/linux/tegra/Makefile b/target/linux/tegra/Makefile index cf929fb0f1..4d4b0e5ea4 100644 --- a/target/linux/tegra/Makefile +++ b/target/linux/tegra/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017-2019 Tomasz Maciej Nowak -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH := arm diff --git a/target/linux/tegra/image/Makefile b/target/linux/tegra/image/Makefile index 97f97e3cc2..58c2fe74f8 100644 --- a/target/linux/tegra/image/Makefile +++ b/target/linux/tegra/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017-2019 Tomasz Maciej Nowak -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile index 275d3cf3bd..ae8ea5d309 100644 --- a/target/linux/uml/Makefile +++ b/target/linux/uml/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk # UML only makes sense on linux diff --git a/target/linux/uml/image/Makefile b/target/linux/uml/image/Makefile index c8ed874d15..45ab0cfbcd 100644 --- a/target/linux/uml/image/Makefile +++ b/target/linux/uml/image/Makefile @@ -1,9 +1,7 @@ -# -# Copyright (C) 2006-2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. +# SPDX-License-Identifier: GPL-2.0-only # +# Copyright (C) 2006-2010 OpenWrt.org + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile index f6b037b886..c78eac0094 100644 --- a/target/linux/x86/Makefile +++ b/target/linux/x86/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=i386 diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index 81aab20666..f61e4ff802 100644 --- a/target/linux/x86/image/Makefile +++ b/target/linux/x86/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2006-2020 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk index 61ab400dc9..24a4384577 100644 --- a/target/linux/x86/modules.mk +++ b/target/linux/x86/modules.mk @@ -1,8 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2017 Cezary Jackiewicz -# -# This is free software, licensed under the GNU General Public License v2. -# define KernelPackage/sound-cs5535audio TITLE:=CS5535/CS5536 Audio Controller diff --git a/target/linux/zynq/Makefile b/target/linux/zynq/Makefile index 3119187c37..b5988c9e05 100644 --- a/target/linux/zynq/Makefile +++ b/target/linux/zynq/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk ARCH:=arm diff --git a/target/linux/zynq/image/Makefile b/target/linux/zynq/image/Makefile index 7cec38ca68..3eb508d7c7 100644 --- a/target/linux/zynq/image/Makefile +++ b/target/linux/zynq/image/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# + include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk -- 2.30.2