Android: Difference between revisions

From Wiki :-)
Jump to navigation Jump to search
m Add "make kernelimage" + fix commands table
m →Android Build System: Add reference
Line 1: Line 1:
Android is an Operating System.
Android is an Operating System.
== Android Build System ==
== Android Build System<ref>http://elinux.org/Android_Build_System</ref> ==


The Android Build System, similarly to Buildroot, is a set of build scripts (.mk files, bash scripts) used to build Android.
The Android Build System, similarly to Buildroot, is a set of build scripts (.mk files, bash scripts) used to build Android.

Revision as of 01:12, 22 May 2016

Android is an Operating System.

Android Build System[1]

The Android Build System, similarly to Buildroot, is a set of build scripts (.mk files, bash scripts) used to build Android.

At the root of the Android Build System, the first thing to do is to set-up the environment: source build/envsetup.sh.

Thus, commands will be available to start the build.

Command Comments
croot Jump back to the root directory
godir Jump into the directory specified as a parameter
mm Compile the program in the current directory
mm -B Clean and compile the program in the current directory
lunch Select the target to build
make kernelimage Compile the kernel only