aosp相关资料
不看了。就支持一下。
不看了。就支持一下
不看了 就支持下!
看了 就支持下!
不看了 就支持下!
thanks you
总该简单介绍一下内容是什麽吧?
什么内容呢
花钱买了,就这些内容
1.all MTK's build-environment files are located under device/mediatek/build
2.all android project configurations are located under device/$company/$project/
3.all MTK's customization files are located under vendor/mediateck/proprietary/custom/$project/
Modem files are locate under
vendor/mediatek/proprieatary/custom/$project/modem/$cusotom_modem/
4.all MTK's proprietary files are located under vendor/mediateck/proprietary
5.all kernel files were lacated under kernel-3.4,not under meditek/kernel/ folder
6.all MTK's release libraries will be located under vendor/mediatek/libs/$project/
编译相关:
1.source build/envsetup.sh
2.lunch 项目名
3.make -j16 2>&1 | tee build.log //这里的16是CPU的线程数
(2)get cpu numbers //获取CPU的数量
cat /proc/cpuinfo | grep processor /wc - l
(3)get build project //获取项目名
get_build_var TARGET_DEVICE
(4)preloader lk kernel and android can be build independenntly
build system project configuration
preloader bootable/bootloader/prloader/custom/$prject/$project.mk
lk bootabel/bootloader/lk/project/$project.mk
kernel kernel-3.4/arch/arm/configs/$project_debnug_defconfig
andorid device/$company/$project/projectconfig.mk
they can be build from andorid
1. preloader
make -j32 pl 2>&1 | tee build.log
2. lk
make -j32 lk 2>&1 | tee build.log
3. kernel
make -j32 kenrl 2>&1 | tee build.log
(5)andorid partial build commond
1.build andorid module
.mmm <directory>
.eg: mmm framework/base
2.rebuild andorid module
.mmm -B <directory>
.eg: mmm -B frmework/base
3.build andorid module by mane
.make -j32 <module name>
.eg: make -j32 libjpeg
(6)clean commands
.make clean (-pl -lk -kernel)
eg:make clean-kernel
菜鸟入门,谢小编分享,祝工作顺利
什么东西。
看看有没有用