From 598b29585ed9501e751b8d3faf3b6e017ad96baa Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 10 Feb 2021 14:52:34 +0100 Subject: target: use SPDX license identifiers on Makefiles Use SPDX license tags to allow machines to check licenses. Signed-off-by: Adrian Schmutzler --- 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 +---- 9 files changed, 12 insertions(+), 37 deletions(-) (limited to 'target/linux/bcm27xx') 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 -- cgit v1.2.3