最近有小伙伴在问4.0 Beta2版本编译RK3588(也就是dayu210)时,会有各种莫名奇妙的报错
(1)subsystem name config incorrect in .......
这个原因是OH代码加入了编译检查,临时措施是把需要编译检查的文件放到白名单里面。
在build\compile_standard_whitelist.json文件中增加 "vendor/hihope/dayu210/ohos.build", 可以忽略过ohos.build检查错误。
不过dayu210还有很多文件需要加入到白名单,这里我附件提供了一个已经添加好的,大家可以参考,下载地址:https://gitee.com/lian-zhian/OpenHarmony_code_temp/blob/master/compile_standard_whitelist.json
(2)内核打补丁错误
还有就是内核打补丁错误,这个是因为patch文件没有更新,目前已经提了PR,但是还没有合入。大家可以参考这个PR:https://gitee.com/openharmony/device_board_hihope/pulls/294/files