Build Legato

After you've installed the source files, ensure your PC host is prepared correctly.

Then you're ready to build the Legato framework for your host and target.

Make Legato on localhost

cd to your Legato directory

Run make

These are Host Directories installed.

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

bin/legs

To set up your shell environment to use the Legato command-line tools, run bin/legs every time you open a new shell:

Run $ bin/legs

(You can run exit at any time to terminate legs and restore your shell's environment.)

Make for Target

Run make to build the framework for the target:

$ make wp85

Substitute wp85 for other target names : ar7, ar86 or raspi.

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).

Ensure you run bin/legs every time you open a new shell.