Make Legato

This topic explains how to make Legato.

Make Legato on localhost

cd to your Legato directory.

Run the make script:

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

Configure Shell

You need to set up your shell environment to use the Legato command-line tools.

bin/legs

You can 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.

bin/configlegatoenv

You can also use configlegatoenv as alternative to bin/legs:

$ source bin/configlegatoenv

This doesn't spawn a new shell. Instead, it imports the Legato configuration within your current shell session, which allows you to use bash alternatives like zsh.

Make for Target

Run the make script 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 Configure Shell before.