[openwrt/openwrt] linux-firmware: add LICENSE_FILES and LICENSE file handling

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 29 05:24:13 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/5c14de1d7e715ef882f34925ee6702b847efcbbd

commit 5c14de1d7e715ef882f34925ee6702b847efcbbd
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Wed Mar 13 13:21:34 2024 +0100

    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 at dev.tdt.de>
---
 package/firmware/linux-firmware/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile
index d056140f45..b86177b91a 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




More information about the lede-commits mailing list