-
推荐系统Ubuntu 2204
-
必须安装的软件
apt-get install curl build-essential gcc g++ make ninja-build cmake libffi-dev e2fsprogs pkg-config flex bison perl bc openssl libssl-dev libelf-dev binutils binutils-dev libdwarf-dev u-boot-tools mtd-utils cpio device-tree-compiler net-tools openssh-server git python3-pip git-lfs repo ccache
-
修改/usr/bin/repo文件,源改成清华
REPO_URL = "https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/"
-
设置~/.pip/pip.config
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install] trusted-host = https://pypi.tuna.tsinghua.edu.cn -
安装hb工具
python3 -m pip install --user build/hb
-
sh改为bash shell
sudo dpkg-reconfigure dash
-
如果运行hb build报错,尝试运行hb env 看看提示,是不是有哪个组件没有安装?按照提示安装。
OpenHarmony系统编译环境
ssmile2023-11-19 5:02
相关推荐
fakerth11 小时前
【OpenHarmony】sensors_miscdevice小器件模块架构fakerth2 天前
【OpenHarmony】医疗传感器模块架构fakerth3 天前
【OpenHarmony】AI引擎模块架构fakerth3 天前
【OpenHarmony】文件访问接口模块架构Industio_触觉智能3 天前
RK3576开发板/核心板应用分享之开源鸿蒙fakerth3 天前
【OpenHarmony】存储管理服务模块架构盆鱼宴之武冈分宴3 天前
flutter openharmony项目新手从0到1的保姆级教程Industio_触觉智能4 天前
开源鸿蒙6.1和8.1版本被确定为LTS建议版本,最新路标正式发布!-转自开源鸿蒙OpenHarmony社区猫林老师4 天前
OpenHarmony南向开发环境搭建 - 深入理解Ubuntu、DevEco Device Tool与HPMfakerth5 天前
【OpenHarmony】分布式文件服务模块架构