Making and Updating Builds

This topic explains how to build a Legato update for a Target Device.

Make an Update for a Target

All supported builds use the make tool and have pre-configured makefiles included in the Framework.

Note
Make sure you have the appropriate toolchain installed before you run make.

Run make to build the framework for the target from your Legato Root Directory:

$ make wp85  \\makes an update file for a WP85 series device 

OR

$ make raspi \\makes an update file for a Raspberry Pi device 

This will build a system update pack for the target, located under the build directory for your target (e.g., build/wp85/system.wp85.update).

Note
If you are having problems successfully running make you may need to remove ccache from your host.
$ sudo apt-get remove ccache 

See basicTargetSW for details on how to install your system update pack onto your target device.

Update a Target

To update the app and framework binaries on your target use the update tool to pass the system update pack to the target device for installation.

$ update build/wp85/system.wp85.update 192.168.2.2