REL 1.0
Page 14 of 59
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15M Android User Manual
2.2
BSP COMPILATION
2.2.1
Host Requirements
This document assumes that Ubuntu PC is used. Not a requirement, but the packages may be named
differently and the method of installing them may be different.
The recommended minimum Ubuntu version is 14.04 or later.
Minimum hard disk space required is about 80 GB and 8GB of RAM.
2.2.2
Setting up build environment
To get the Android Project expected behaviour in a Linux Host Machine, the packages and utilities described below
must be installed. An important consideration is the hard disk space required in the host machine. For example,
when building on a machine running Ubuntu, the minimum hard disk space required is about 80 GB for the Android.
Open a terminal window and install the below packages in host PC.
$ sudo apt-get update
$ sudo apt-get install uuid uuid-dev zlib1g-dev liblz-dev liblzo2-2 liblzo2-dev
$ sudo apt-add-repository ppa:git-core/ppa
$ sudo apt-get install lzop
$ sudo apt-get update
$ sudo apt-get install git-core curl u-boot-tools git gnupg flex bison gperf build-essential zip curl
$ sudo apt-get install libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386
$ sudo apt-get install libreadline6-dev:i386 libgl1-mesa-glx:i386 libglapi-mesa libgl1-mesa-dev
$ sudo apt-get install g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc
$ sudo apt-get install zlib1g-dev:i386
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
$ sudo apt-get install mtd-utils android-tools-fsutils
To install JAVA 1.8 run the following commands, JAVA 1.8 is used to compile the android source code.
$ sudo apt-add-repository ppa:openjdk-r/ppa
$ sudo apt-get update
$ sudo apt-get install openjdk-8-jdk
$ sudo update-alternatives --config java
$ sudo update-alternatives --config javac