qualcomm编译指令
Compile the Entire Android Software
source build/envsetup.shlunch msm8909-userdebugmake -jn (-n means the thread numbers of CPU)j表示cpu线程的个数。开启几个线程进行编译。一般和cpu的核心数相同,双核j选2,四核j选4.
After compiling, it will generate many BIN files in directory of out/target/product/msm8909
Compiling Different Parts of Android
1. Compile aboot:Input Command: make aboot -jnTarget Folder: work/LINUX/android/out/target/product/msm8909/Target File: emmc_appsboot.mbn2. Compile kernel:Input Command: make bootimage -jnTarget Folder: work/LINUX/android/out/target/product/msm8909Target File: boot.img3. Compile system:Input Command: make systemimage -jnTarget Folder: work/LINUX/android/out/target/product/msm8909Target File: system.img4. Compile userdata:Input Command: make userdataimage -jnTarget Folder: work/LINUX/android/out/target/product/msm8909Target File: userdata.img5. Compile recovery:Input Command: make recoveryimage -jnTarget Folder: work/LINUX/android/out/target/product/msm8909Target File: recovery.img
Tony Liu
2017-4-28, Shenzhen