# devtools **Repository Path**: zbq1028/devtools ## Basic Information - **Project Name**: devtools - **Description**: Devtools for Openhamony LoongArch - **Primary Language**: Shell - **License**: GPL-2.0 - **Default Branch**: ohos-main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-12-26 - **Last Updated**: 2024-12-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 开源鸿蒙(OHOS)龙架构(LoongArch)主线移植项目 #### 工具链 - 工具链制作 通过运行以下命令可以制作支持龙架构的工具链: ``` $ curl -s -k https://gitee.com/openharmony-loongarch/devtools/raw/ohos-main/toolchain.sh | bash - ``` - 工具链下载 支持龙架构的 OHOS 预编译工具链可从此处下载:http://oh.loongarch.zhcn.cc:10000/toolchains/ #### 开发环境准备 运行以下脚本,将下载 OHOS 源码及支持 LoongArch 架构的工具链: ``` $ curl -s -k https://gitee.com/openharmony-loongarch/devtools/raw/ohos-main/start.sh | bash - ``` #### 虚拟机镜像(移植中) 最小化标准系统虚拟机镜像移植,运行以下命令开始编译: ``` ./build.sh --product-name qemu-loongarch64-linux-min --ccache --no-prebuilt-sdk ``` 主线合并进度[跟踪](https://gitee.com/openharmony/device_qemu/issues/IAIIPL?from=project-issue)