diff --git a/zh-cn/device-dev/get-code/sourcecode-acquire.md b/zh-cn/device-dev/get-code/sourcecode-acquire.md index c953882f8b3759e5d26b268238af344a4c3c4aef..e33b874845cf01124b8d958da1fe4ef4a9bcee62 100644 --- a/zh-cn/device-dev/get-code/sourcecode-acquire.md +++ b/zh-cn/device-dev/get-code/sourcecode-acquire.md @@ -412,4 +412,183 @@ OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及 +## 获取方式4:从github镜像仓库获取(每天UTC时间23点同步) + +方式一(推荐):通过repo + ssh 下载(需注册公钥,请参考GitHub帮助中心)。 + + repo init -u git@github.com:openharmony/manifest.git -b master --no-repo-verify + repo sync -c + repo forall -c 'git lfs pull' + +方式二:通过repo + https 下载。 + + repo init -u [https://github.com/openharmony/manifest.git](https://github.com/openharmony/manifest.git) -b master --no-repo-verify + repo sync -c + repo forall -c 'git lfs pull' + +## 源码目录简介 + +下表是OpenHarmony源码的目录及简单说明: + +**表 2** 源码目录 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

目录名

+ +

描述

+ +

applications

+ +

应用程序样例,包括camera等

+ +

base

+ +

基础软件服务子系统集硬件服务子系统集

+ +

build

+ +

组件化编译、构建和配置脚本

+ +

docs

+ +

说明文档

+ +

domains

+ +

增强软件服务子系统集

+ +

drivers

+ +

驱动子系统

+ +

foundation

+ +

系统基础能力子系统集

+ +

kernel

+ +

内核子系统

+ +

prebuilts

+ +

编译器及工具链子系统

+ +

test

+ +

测试子系统

+ +

third_party

+ +

开源第三方组件

+ +

utils

+ +

常用的工具集

+ +

vendor

+ +

厂商提供的软件

+ +

build.py

+ +

编译脚本文件

+ +
+ +