Build Instructions for Ubuntu

Build Instructions for Ubuntu
Reference: Ubuntu 15.04

Build Pre-requisites
sudo apt-get install build-essential u-boot-tools sunxi-tools sudo dpkg --add-architecture armhf

sudo sed 's~\(\(deb\(-src\)*\) \([^\[]\)\)~\2 [arch=i386,amd64] \4~' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
 * 1) modify existing sources, restricting to appropriate architectures

sudo bash -c 'cat >/etc/apt/sources.list.d/armhf-ports.list <<EOT deb [arch=armhf] http://ports.ubuntu.com/ trusty main universe multiverse restricted deb [arch=armhf] http://ports.ubuntu.com/ trusty-updates main universe multiverse restricted deb [arch=armhf] http://ports.ubuntu.com/ trusty-security main universe multiverse restricted EOT'
 * 1) create source list for the port architecture(s)

sudo apt-get update sudo apt-get install crossbuild-essential-armhf