BPI-M2 Android 4.4.2 Compilation tutorial
================================
Copyright 2014-2015 sinovoip,lnc Leo Xu ([email protected])
1. Install the Linux system required for compiling, we recommend using ' Ubuntu 12.04.x LTS '.
The installation process is no longer described.
2. Use the command to install the required packages for the build environment.
sudo apt-get install Python-software-propertiessudo add-apt-repository ppa:webupd8team/javasudo apt-get Updatesudo Apt-get Install oracle-java6-installersudo apt-get install libglapi-mesa:i386sudo apt-get install git GnuPG Flex Bison GPE RF build-essential Zip Curl Libc6-dev libncurses5-dev:i386 X11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc Zlib1g-dev: I386sudo ln-s/usr/lib/i386-linux-gnu/mesa/libgl.so.1/usr/lib/i386-linux-gnu/libgl.sosudo apt-get Install Uboot-mkimagesudo Apt-get Install xserver-xorg
Attention! : The installation environment may cause problems with the inability to enter the desktop, so be sure not to restart the installation process, and at the end you run a command to install ' xserver-xorg ' (important).
3. Obtain the latest source package from http://dev.banana-pi.org.cn and perform the unpacking operation.
4. Compile.
4.1 Use the following command for HDMI compilation.
./build_hdmi.sh
4.2 Compile the 7 ' LCD using the following command.
./build_lcd.sh
4.3 Use the following command to clear the last compiled file and be sure to do so before compiling for another output (very important).
./make_clean.sh
4.4 To learn about the details of the compilation, please refer to the source directory of the ' Build_code_command.txt '.
How to compile Android 4.4.2 Image for banana pie Banana Pi bpi-m2