...
Code Block |
---|
$ cd /path/to/android-master # Setup building environment $ . build/envsetup.sh # Older AOSP code base might need to lunch the target # 'aosp_cf_arm64_auto-userdebug'. This target is obsolete # on the AOSP master branch and you should use the target # 'aosp_cf_arm64_auto-trunk_staging-userdebug' if you are # working on a new enough AOSP master branch. $ lunch aosp_cf_arm64_auto-trunk_staging-userdebug # Build AOSP with mainline kernel $ make TARGET_KERNEL_USE=mainline -j16 # Generate the release images $ make TARGET_KERNEL_USE=mainline dist -j16 |
...