编译系统异常点
1. 如何编译参考邮件
1. 解压 idh.code.tgz 得到 idh.code 文件夹
2. 解压 conf-sharkle.tar.gz 得到 device 文件夹
3. 将 device/sprd 文件夹拷贝到 idh.code/device 文件夹下,
4. 按照安卓正常编译
注:
1. proprietories-sl8541e_1h10_gofu_osea-user.zip 或者 proprietories-sl8541e_1h10_gofu_osea-userdebug.zip 必须存在
2. lunch 选择 sl8541e_1h10_gofu_osea 或者 sl8541e_1h10_gofu_osea-userdebug
3. 解压对应的 proprietories-sl8541e_1h10_gofu_osea-user.zip 或者 proprietories-sl8541e_1h10_gofu_osea-userdebug.zip (根据lunch 选择使用哪个文件夹中的文件) ,将其中的 sml.bin 和 tos.bin 俩个文件放到 idh.code/out/target/product/${BOARD_NAME} 下
4. 进行 make 操作
2. pack 打包
阅读 pac_script3.rar 中的 readme 文档
3. 编译问题及解决
3.1
[ 0% 719/76023] Lex: applypatch <= bootable/recovery/edify/lexer.ll
FAILED: out/target/product/sl8541e_1h10_go/obj/STATIC_LIBRARIES/libedify_interme