Android src compiling process
It’s first of Android kind though not a basic step for Android.
Android build system is quite clean and easy to understand, but there is an obvious dependency to compile platform source and Kernel source.
The OEM usually keeps their code including init.rc in the vendor directory. So when we compile the platform source, the product specific directory is created with root and system directory.
The root directory has init.rc which must be used in the ramdisk image in order to execute it when the root file system is mounted.
Because of this obvious dependency, we usually compile platform, kernel and boot in that order.
Advertisement