<div><div dir="auto">Maybe you could send a follow up patch then? I won’t get to it until tomorrow.</div></div><div dir="auto"><br></div><div dir="auto">Alex</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu 5. Mar 2020 at 17.56, André Draszik <<a href="mailto:git@andred.net">git@andred.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 2020-03-05 at 17:44 +0100, Alexander Kanavin wrote:<br>
> Right I think this should be easy to fix, we need to copy LICENSE.* manually. I'll get to it soon.<br>
> <br>
<br>
Keep in mind there's different spelling, and two more files :-)<br>
This works for me:<br>
<br>
+ cp -r GPL-2 LICENCE.* LICENSE.* WHENCE ${D}${nonarch_base_libdir}/firmware/<br>
<br>
<br>
Cheers,<br>
A.<br>
<br>
> Alex<br>
> <br>
> On Thu, 5 Mar 2020 at 17:20, André Draszik <<a href="mailto:git@andred.net" target="_blank">git@andred.net</a>> wrote:<br>
> > On Wed, 2020-03-04 at 11:13 +0100, Alexander Kanavin wrote:<br>
> > > Copying the source tree over was missing important symlinks<br>
> > > that since recent updates can only be created with make install.<br>
> > <br>
> > Thanks for the quick fix Alex, but unfortunately now all the -license packages<br>
> > are non-existent and image creation fails, because their install: target<br>
> > doesn't copy the license files.<br>
> > <br>
> > Cheers,<br>
> > Andre'<br>
> > <br>
> > > <br>
> > > Signed-off-by: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> > > ---<br>
> > > .../linux-firmware/<a href="http://linux-firmware_20200122.bb" rel="noreferrer" target="_blank">linux-firmware_20200122.bb</a> | 22 +------------------<br>
> > > 1 file changed, 1 insertion(+), 21 deletions(-)<br>
> > > <br>
> > > diff --git a/meta/recipes-kernel/linux-firmware/<a href="http://linux-firmware_20200122.bb" rel="noreferrer" target="_blank">linux-firmware_20200122.bb</a> b/meta/recipes-kernel/linux-<br>
> > firmware/linux-<br>
> > > <a href="http://firmware_20200122.bb" rel="noreferrer" target="_blank">firmware_20200122.bb</a><br>
> > > index 0d1422cfca..f7198cb56a 100644<br>
> > > --- a/meta/recipes-kernel/linux-firmware/<a href="http://linux-firmware_20200122.bb" rel="noreferrer" target="_blank">linux-firmware_20200122.bb</a><br>
> > > +++ b/meta/recipes-kernel/linux-firmware/<a href="http://linux-firmware_20200122.bb" rel="noreferrer" target="_blank">linux-firmware_20200122.bb</a><br>
> > > @@ -208,27 +208,7 @@ do_compile() {<br>
> > > }<br>
> > > <br>
> > > do_install() {<br>
> > > - install -d ${D}${nonarch_base_libdir}/firmware/<br>
> > > - cp -r * ${D}${nonarch_base_libdir}/firmware/<br>
> > > -<br>
> > > - # Avoid Makefile to be deployed<br>
> > > - rm ${D}${nonarch_base_libdir}/firmware/Makefile<br>
> > > -<br>
> > > - # Remove unbuild firmware which needs cmake and bash<br>
> > > - rm ${D}${nonarch_base_libdir}/firmware/carl9170fw -rf<br>
> > > -<br>
> > > - # Remove pointless bash script<br>
> > > - rm ${D}${nonarch_base_libdir}/firmware/configure<br>
> > > -<br>
> > > - # Remove python script used to check the WHENCE file<br>
> > > - rm ${D}${nonarch_base_libdir}/firmware/check_whence.py<br>
> > > -<br>
> > > - # Libertas sd8686<br>
> > > - ln -sf libertas/sd8686_v9.bin ${D}${nonarch_base_libdir}/firmware/sd8686.bin<br>
> > > - ln -sf libertas/sd8686_v9_helper.bin ${D}${nonarch_base_libdir}/firmware/sd8686_helper.bin<br>
> > > -<br>
> > > - # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it<br>
> > > - ( cd ${D}${nonarch_base_libdir}/firmware ; ln -sf ti-connectivity/* . )<br>
> > > + oe_runmake 'DESTDIR=${D}' install<br>
> > > }<br>
> > > <br>
> > > <br>
> > > -- <br>
> > > 2.25.1<br>
> > > <br>
> > <br>
<br>
</blockquote></div></div>