]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-firmware: install / package all license files again
authorAndré Draszik <git@andred.net>
Thu, 5 Mar 2020 20:27:39 +0000 (20:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Mar 2020 08:19:12 +0000 (08:19 +0000)
This doesn't happen with make install, hence all the -license packages
are missing, since they'd otherwise be empty.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb

index f7198cb56af2765b843b1f39511dba102d7c0d71..6039dc9d711f8f9ea329a06e1b50188f82608d70 100644 (file)
@@ -209,6 +209,7 @@ do_compile() {
 
 do_install() {
         oe_runmake 'DESTDIR=${D}' install
+        cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
 }