RK3399编译

将java环境配置到变量

source javaenv.sh

uboot 编译:

cd u-boot
make rk3399_defconfig
make ARCHV=aarch64

kernel 编译:

cd kernel
make ARCH=arm64 rockchip_defconfig -j8
make ARCH=arm64 rk3399-sunniwell-mk013v03-conf.img -j16

android 编译:

source build/envsetup.sh
lunch sunniwell_base-userdebug
make -j16
./mkimage.sh

编译一个模块

source javaenv.sh
source build/envsetup.sh
lunch sunniwell_base-userdebug
cd 到含有mk文件的目录mm即可

编译systemimage

make systemimage -j8

修改版本号

device/xxx/vendor/base/sunniwell_base/build_id.mk

执行一键整编脚本

./build/ci-local-build.sh

在fremework中添加public方法后更新api

make update-api

发表回复

CAPTCHAis initialing...