4.2: Build and Install the Development Environment
Rev 3 9/21/17
17
ii.
Either move or delete any old toolchain files:
Delete files:
$ rm poky*
Move files:
$ mkdir old_toolchains
$ mv poky* old_toolchains
iii.
Edit your ~/.bashrc file, comment out any items at the bottom of the file that begin with "LEGATO", and
save and close the file.
b.
Go to
http://source.sierrawireless.com/resources/legato/downloads
and click the latest Legato (32-bit or
64-bit) toolchain download link (the link is to a .sh file).
Note: You must register on the Source for an account before you can download files.
c.
Click Download.
d.
If prompted, save the file to your Downloads folder. (e.g. ~/Downloads)
e.
In the terminal window, open the folder and run the file.
(In the command below, replace <file_name> with the actual file name.
e.g. If the file name is "poky-swi-ext-sample-1.7.3.sh", the command would be "bash poky-swi-ext-sample-
1.7.3.sh"):
$ cd ~/Downloads
$ bash <file_name>
f.
When prompted to enter a target directory for the SDK, press Enter to accept the default (/opt/swi/y17-ext).
Click Download on the latest (newest)
32-bit or 64-bit toolchain link