android mtk 编译命令,MTK Android 编译模块说明及编译命令

alps/文件目录

[makeMtk]   ALPS project make /build entry point.

[bionic]   C runtime libraries, such as, libc, libm, libdl, dynamic linker etc...

[bootable]  Custom'task/modules'sources and header files

[build]    Android Build System(include makefiles, scripts& other tools)

[cts]     Compatability test suite

[dalvik]   JAVA virtual machine

[development] High-level development and debugging tools

[external]  External projects/applications

[frameworks] Application framework (Core Android application framework libraries, configration policy)

[hardware]  Hardware abstraction layer and interface

[kernel]   Linux kernel

[libcore]   The original "dalvik/libcore", android core libraries

[mediatek]  MediaTek developed source code, tools, build configration files and customization codes

[ndk]     Android Native Development Ket(NDK)

[out]     Build result/output(objects, binaries&intermediate files)

[package]   Application packages

[prebuilt]  Pre-built tools to support Linux builds

[sdk]     Android SDK tools

[system]   The core of the embedded Linux platform at the heart of Andorid (required fo

basic booting, operation, and debugging)

[verdor]   Vendor's applications, MediaTek binary released libraries

编译脚本文件及方法 命令

执行文件 mediatek/build/makemtk.mk

Usage: (makeMtk|mk) [options] project actions [modules]

Options:

-t, -tee  : Print log information on the standard-out

-o, -opt=bypass_argument_to_make

: Pass extra arguments to make.

-h, -help  : Print this mesage and exit.

Projects:

one of available projects。

Actions:

listp, listproject

: List all available projects.

chectk-env : Check if build environment is ready.

check-dep  : Check feature dependency.

n, new   : Clean and preform a full build.

c, clean  : Clean the immediate files(such as, objects, librearies etc.).

r, remake  : Rebuild(target will be updated if any dependency updates)

bm_new   : "new"+ GNU make's "-k"(keep going when encounter error) feature.

bm_remake  : "remake" + GNU make's "-k"(keep going when encounter error) feature.

mm     : Build module through Android native command "mm"

emigen   : Generate EMI setting source code.

codegen   : Generate trace DB (for META/Cather etc. tools used).

drvgen   : Generate driver customization source.

custgen   : Generate customization source.

javaoptgen : Generate the global java options.

ptgen    : Generate partition setting header & scatter file.

sign-image : Sigh all the image generated.

update-api : Android default build action(be executed if system setting or anyting removed from API).

sdk     : Build sdk package.

banyan_addon: Build MTK sdk addon.

cts     : Build cts package.

bootimage  : Build bootimage.

systemimage : Build systemimage.

recoveryimage: Build recoveryiamge.

secroimage : Build secroimage.

factoryimage: Build factoryimage.

Modules:

pl, preloader: Specify to build preloader.

ub, uboot  : Specify to build uboot.

k, kernel  : Specify to build kernel.

dr, android : Specify to build android.

NULL     : Specify to build all components/modules in default.

k : Specify to build kernel component/module with the source path.

dr : Specify to build android component/module with module name.

编译驱动模块 ./mk ln73 r ub k && ./mk ln73 bootimage

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值