Hi,
I followed the hello-mod example and got my module compiling, installed,
mounted to target and even functioning (talking to the hw).
I am trying to add now firmware binaries to send to the hardware.

*I added the following to my .bb*:
do_install_append() {
    install -d ${D}${base_libdir}/firmware/xxx
    install    ${WORKDIR}/FwImage/*.bin ${D}${base_libdir}/firmware/xxx/
}

FILES_${PN}-firmware = "${base_libdir}/firmware/xxx/xxx*.bin"

*This is the output from bitbake -e xxx|grep ^FILES_* :
FILES_xxx-firmware="/lib/firmware/xxx/xxx*.bin"
FILES_xxx-bin="/usr/bin/* /usr/sbin/*"
FILES_xxx-locale="/usr/share/locale"
FILES_SOLIBSDEV="/lib/lib*.so /usr/lib/lib*.so"
FILES_xxx-doc="/usr/share/doc /usr/share/man /usr/share/info
/usr/share/gtk-doc /usr/share/gnome/help"
FILES_xxx=""
FILES_xxx-dev="/usr/include /lib/lib*.so /usr/lib/lib*.so /usr/lib/*.la
/usr/lib/*.o /usr/lib/pkgconfig /usr/share/pkgconfig /usr/share/aclocal
/lib/*.o /usr/lib/xxx/*.la /lib/*.la"
FILES_xxx-dbg="/usr/lib/debug /usr/src/debug"
FILES_xxx-staticdev="/usr/lib/*.a /lib/*.a /usr/lib/xxx/*.a"

*But I still get*:
ERROR: xxx-module-r0 do_package: QA Issue: xxx: Files/directories were
installed but not shipped in any package:
  /lib/firmware
  /lib/firmware/xxx
  /lib/firmware/xxx/xxx1.bin
  /lib/firmware/xxx/xxx2.bin
  /lib/firmware/xxx/xxx3.bin
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
xxx: 5 installed and not shipped files. [installed-vs-shipped]

Any idea what am I doing wrong?

Thanks,
Sol
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50233): https://lists.yoctoproject.org/g/yocto/message/50233
Mute This Topic: https://lists.yoctoproject.org/mt/76043741/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to