summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Eckert2024-03-13 12:21:34 +0000
committerHauke Mehrtens2024-07-10 21:07:36 +0000
commit437d1988b17edd5ca8948a4baa1a375428d24140 (patch)
tree6e3b86c9c0b069bbaa549f8cedda72fb9cd7cbaf
parent6f72d62a5316eed4688645930fab822c6b19c91c (diff)
downloadjow-437d1988b17edd5ca8948a4baa1a375428d24140.tar.gz
linux-firmware: add LICENSE_FILES and LICENSE file handling
The firmware blobs have all different licenses from the different manufacturers of the binary blobs. This information is contained in the upstream 'linux-firmware' repositroy. This commit extends the package handling so that this information can be added as an additional argument during packages generation. Signed-off-by: Florian Eckert <fe@dev.tdt.de> (cherry picked from commit 5c14de1d7e715ef882f34925ee6702b847efcbbd) Link: https://github.com/openwrt/openwrt/pull/15918 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/firmware/linux-firmware/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile
index ef6cd075de..361d8b55ee 100644
--- a/package/firmware/linux-firmware/Makefile
+++ b/package/firmware/linux-firmware/Makefile
@@ -30,6 +30,8 @@ define Package/firmware-default
URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git
TITLE:=$(1)
DEPENDS:=$(2)
+ LICENSE_FILES:=$(3)
+ LICENSE:=$(4)
endef
define Build/Compile