52 Star 279 Fork 1.1K

OpenHarmony / manifest

 / 详情

下载某一个芯片全量代码后,要怎么编译呢?

待办的
需求
创建于  
2023-11-28 14:19

【任务描述】
下载某一个芯片全量代码后,要怎么编译呢?
比如目前我使用repo init -u https://gitee.com/openharmony/manifest.git -b master -m chipsets/hispark_pegasus.xml -g ohos:mini下载了hispark_pegasus的代码,按照如下操作进行编译:
1.安装了编译工具
2.安装hb工具0.4.6版本,执行hb set会提示在源路径执行
3.更换安装hb为0.4.3版本,执行hb set可以选择开发板,但是选择后提示[OHOS ERROR] invalid path,排查发现是device目录结构有变更,开发板代码在device/board/hispark_pegasus下,而不是device/hispark_pegasus/,即便修改了json,在编译时报错The file "/home/hispark/m5core2/build/lite/.gn" couldn't be loaded.明显是缺少文件。。。不想自己再去补充文件了
4.使用build.sh编译,直接报错ohos-sdk build failed! You can try to use '--no-prebuilt-sdk' to skip the build of ohos-sdk. 不想折腾这个,下载轻量代码就是不想再下载乱七八糟的了
问题:
1.提供了下载模块芯片或者开发板的下载方式,那么要怎么编译呢?
2.hb工具能不能统一呢?或者有没有统一使用执行编译的工具版本,和对应的代码仓
3.
【解决方案】

【任务来源】

评论 (1)

ckunkun 创建了需求

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @马明帅 @frank_bing @liangliang6768 @wuxiangzhou @wenyu 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @马明帅 @frank_bing @liangliang6768 @wuxiangzhou @wenyu for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662 5570705 ckunkun 1659151710
1
https://gitee.com/openharmony/manifest.git
git@gitee.com:openharmony/manifest.git
openharmony
manifest
manifest

搜索帮助