欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Android源码编译步骤

程序员文章站 2022-07-02 15:33:50
...
cd /opt/os/android-MT7889/

source build/envsetup.sh

/opt/os/android-MT7889$ lunch

[email protected]:/opt/os/android-MT7889$ lunch

You're building on Linux

Lunch menu... pick a combo:
     1. full-eng
     2. full_x86-eng
     3. vbox_x86-eng
     4. full_mstarcedric3-userdebug
     5. full_mstarcedric3-user
     6. full_mstarcedric3-eng

Which would you like? [full-eng] 6

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=full_mstarcedric3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-23-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================

编译系统:
[email protected]:/opt/os/android-MT7889$ make -j8
等结果,在Android\out\target\product\mstarcedric3\system目录下