Platform: RK3288
OS: Android 6.0
Kernel: 3.10.92
RK没有直接提供编译整个工程的脚本,为了方便,简单编写了一个,
这样就不需要每次手动敲命令了,脚本放在根目录下即可执行.
注意事项:
1. 红色部分每个项目不同,需要修改.
2. 确保java openjdk安装并检查路径.
3. 默认没参数时编译整个android.
脚本实现:
#!/bin/bash
#Kris,20160829
#kris, 20160901, Just move images to $IMAGE_PATH_FINAL.
#kris, 20160901, Update build kernel options.
#Kris, 20160908, Need to call mkimage.sh when building bootimage.
#kris, 20161116, Add recoveryimage build.
#kris, 20161201, Move copy_image outside. Copy bootimage.
#Kris, 20170111, Caculate cpu number dynamicly.
#kris, 20170111, Support old 13.3 inch lcd and tp.
#Usage:
#./1_build_debug.sh [all|kernel|uboot|recoveryimage|${module}]
# Default is building android. All option includes building otapackage.
#if need to build old version, execute "./1_build_debug.sh kernel old&
OS: Android 6.0
Kernel: 3.10.92
RK没有直接提供编译整个工程的脚本,为了方便,简单编写了一个,
这样就不需要每次手动敲命令了,脚本放在根目录下即可执行.
注意事项:
1. 红色部分每个项目不同,需要修改.
2. 确保java openjdk安装并检查路径.
3. 默认没参数时编译整个android.
脚本实现:
#!/bin/bash
#Kris,20160829
#kris, 20160901, Just move images to $IMAGE_PATH_FINAL.
#kris, 20160901, Update build kernel options.
#Kris, 20160908, Need to call mkimage.sh when building bootimage.
#kris, 20161116, Add recoveryimage build.
#kris, 20161201, Move copy_image outside. Copy bootimage.
#Kris, 20170111, Caculate cpu number dynamicly.
#kris, 20170111, Support old 13.3 inch lcd and tp.
#Usage:
#./1_build_debug.sh [all|kernel|uboot|recoveryimage|${module}]
# Default is building android. All option includes building otapackage.
#if need to build old version, execute "./1_build_debug.sh kernel old&