4.2: Build and Install the Development Environment
Rev 3 9/21/17
18
g.
When prompted to install or (possibly) replace the SDK, type ’Y’ and press Enter.
When finished, installing, the message "SDK has been successfully set up and is ready to be used." will
appear.
h.
Configure the toolchain to make it available for use in generating the mangOH Red platform and the kernel
modules that it references:
$ export PATH=$PATH:/opt/swi/y17-ext/sysroots/\
x86_64-pokysdk-linux/usr/bin/\
arm-poky-linux-gnueabi
$ cd /opt/swi/y17-ext/sysroots/\
armv7a-vfp-neon-poky-linux-gnueabi/usr/\
src/kernel
$ sudo chown -R $USER .
$ ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- \
make scripts
$ sudo chown -R root .
8.
Install the repo application, which will be used to clone the Legato file repository:
$ sudo apt-get install -y repo
9.
If the install in
failed because phablet-tools was previously installed:
a.
Enter the following command:
$ sudo apt-get remove -y --purge phablet-tools
b.
Go back to
10.
If you have not used git or git-repo to clone a project before, identify yourself as follows:
$ git config --global user.email "[email protected]"
$ git config --global user.name "your.name"
Note:
This may take a few minutes to run.