Răsfoiți Sursa

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 <[email protected]>
Florian Eckert 1 an în urmă
părinte
comite
5c14de1d7e
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      package/firmware/linux-firmware/Makefile

+ 2 - 0
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