编译Android-4.0.1_r1

2011-11-15, Android-4.0.1_r1 source code is released.

下面简略描述如何编译Android-4.0.1_r1

1. 获取源代码

    # mkdir mirror-googlesource

    # cd mirror-googlesource

    # repo init --mirror -u https://android.googlesource.com/platform/manifest

    # repo sync

    注:更新mirror后的code

    # repo sync

    # repo forall -c 'pwd; git remote update'


2. 编译Android-4.0.1_r1

    # mkdir build-android-4.0.1_r1

    # cd build-android-4.0.1_r1

    # repo init -u file:///<path>/mirror-googlesource/platform/manifest -b android-4.0.1_r1

    # repo sync

    # . build/envsetup.sh

    # lunch full-eng

    # make

你可能感兴趣的:(git,File)