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

No comments yet

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.