-
Notifications
You must be signed in to change notification settings - Fork 0
1.3 Compile the source code
easternday edited this page Jan 26, 2022
·
1 revision
此处只给出最简单的构建办法,对于AOSP和官方支持的设备完全支持。
如果是其他设备请自己查找资料。
Only the building method is given here, which is fully supported for AOSP and officially supported devices.
If it is other device, please find the information yourself.
source build.envsetup.shlunch
# Such as compile the Pixel ROM
lunch aosp_sailfish-userdebug具体的版本选择请根据自己的需求来决定,大部分的选择根据名字即可推断出来。
The specific version selection should be determined according to your own needs, and most of the choices can be inferred from the name.
# Compile by 12 threads
time make -j12
# or total proc will be used
time make -j$(nproc --all)[1] 编译安卓