PelionIoT / meta-mbl

Mbed Linux OS (mbl) main repository & OpenEmbedded layers - Mbed Linux OS has been deprecated as a product in the Pelion portfolio. It is still available in the Github repos (with all documentation), but will remain frozen at version 0.10.
https://os.mbed.com/docs/mbed-linux-os/latest
Other
27 stars 8 forks source link

swupdate: Add swupdate-handlers recipe #811

Closed rwalton-arm closed 4 years ago

rwalton-arm commented 4 years ago

This commit adds a recipe that compiles our swupdate handlers to object files, which need to be linked with the swupdate handlers kbuild module. The do_install task of this recipe moves the object files to a staging directory, where they can be picked up by our swupdate bbappend and linked with the swupdate handlers module.

We also patch swupdate to tell it to link our handlers and add a menuconfig item to disable and enable the handlers if needed (the default is to have our handlers enabled).

Also remove any reference to rootfs_installer.sh from the mbl-cloud-client recipe.

JIRA: IOTMBL-2586 Jenkins: http://jenkins.mbed-linux.arm.com/job/rw-test/209/

Related PRs:

NOTE to self: SRCREV must be updated before merging

jonathanhaigh-arm commented 4 years ago

@rwalton-arm, I made some changes to the CMake config in 9b9a0b34f97cc86e5495b7ede9035e10f48e1c40. Can you review please?

rwalton-arm commented 4 years ago

@rwalton-arm, I made some changes to the CMake config in 9b9a0b3. Can you review please?

The CMake changes look fine to me.

jonathanhaigh-arm commented 4 years ago

Jenkins build with latest code from here and from https://github.com/ARMmbed/mbl-core/pull/261: http://jenkins.mbed-linux.arm.com/view/jh/job/jh-test/216/