kernel: update deprecated license information
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 21 Mar 2024 11:55:01 +0000 (12:55 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Mar 2024 20:49:07 +0000 (21:49 +0100)
Update the deprecated license information from GPL-2.0 to GPL-2.0-only
as written in the COPYING file of the linux source tree.

Also add the 'COPYING' file to the PKG_LICENSE_FILES variable.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
package/kernel/linux/Makefile

index 6592b01678f0734c7cc8ec73e2d80fe1391ae778..d53017018c71778d31aa3c72559d71c805c4ad2a 100644 (file)
@@ -16,8 +16,8 @@ SUBTARGETS = $(sort $(filter-out feeds,$(notdir $(wildcard $(TOPDIR)/target/linu
 SUBTARGET_MODULES = $(foreach t,$(SUBTARGETS),$(firstword $(wildcard $(TOPDIR)/target/linux/feeds/$(t)/modules.mk $(TOPDIR)/target/linux/$(t)/modules.mk)))
 SCAN_DEPS=modules/*.mk $(SUBTARGET_MODULES) $(TOPDIR)/include/netfilter.mk
 
-PKG_LICENSE:=GPL-2.0
-PKG_LICENSE_FILES:=
+PKG_LICENSE:=GPL-2.0-only
+PKG_LICENSE_FILES:=COPYING
 
 export SHELL:=/bin/sh
 .ONESHELL: