Before you install and build Legato, ensure you’ve completed all the steps in Prep Dev Host before installing Legato packages.
Ensure you have everything you need downloaded. Check Legato Packages.
To access the Legato application framework, you'll need a GitHub account https://legato.io/
Then Setup Target.
Go to Advanced topics if you need to rebuild your Yocto target.
If you’re using the bootable USB, you can move on to developing and running Legato Apps.
You'll need to install the cross-toolchain for building ARM applications. Copy the either the 64-bit or 32-bit [Legato-Toolchain-file] to /opt/swi and then extract it.
You may need to use sudo:
Install the Legato application framework on your dev host.
First, create a directory where you'll run Legato (e.g., mkdir Legato).
Then run:
git clone https://github.com/legatoproject/legato-af.git
You'll be prompted for your GitHub credentials.
cd to your Legato directory
Run make
.
Run $ bin/legs
Run this to build the framework and AirVantage agent for the target
(substitute ar7
for wp7
if building an AR7 target):
Or run this to build the framework for the target without the AirVantage agent:
Copyright (C) Sierra Wireless, Inc. 2014. All rights reserved. Use of this work is subject to license.