docs: 添加项目路径相关说明

This commit is contained in:
Del Wang
2025-05-27 20:31:59 +08:00
parent ba828b782d
commit e3609fc888
4 changed files with 24 additions and 0 deletions
+6
View File
@@ -48,6 +48,12 @@ reboot
为了构建能够在小爱音箱上运行的 ARMv7 应用,你还需要安装 `cross` 👉 [传送门](https://github.com/cross-rs/cross)
```shell
# 克隆代码
git clone https://github.com/idootop/open-xiaoai.git
# 进入当前项目根目录
cd packages/client-rust
# 交叉编译
cross build --release --target armv7-unknown-linux-gnueabihf
```