|
@@ -63,8 +63,15 @@
|
|
|
├── meta-riscv
|
|
|
├── openembedded-core
|
|
|
└── thead-build
|
|
|
+ ├── downloads -> MY/YOCTO/DOWNLOADS # 可以手动创建链接指向共享下载目录
|
|
|
├── ice-base # 默认编译 MACHINE=ice 的镜像
|
|
|
- └── qemuriscv64 # 默认编译 MACHINE=qemuriscv64 的镜像
|
|
|
+ │ ├── conf
|
|
|
+ │ └── README.md
|
|
|
+ ├── ice-xfce # 默认编译 MACHINE=ice 的xfce镜像
|
|
|
+ │ ├── conf
|
|
|
+ │ └── README.md
|
|
|
+ ├── qemuriscv64 # 默认编译 MACHINE=qemuriscv64 的镜像
|
|
|
+ └── sstate-cache # 编译时自动生成
|
|
|
```
|
|
|
|
|
|
2. 编译
|
|
@@ -74,7 +81,7 @@
|
|
|
source openembedded-core/oe-init-build-env thead-build/ice-base # 将 build 目录指定为 thead-build/ice-base
|
|
|
|
|
|
# 确认 downloads 文件夹:设置一个存放 yocto 下载文件的共享目录 SHARE_YOCTO_DOWNLOAD_FILE_FOLDER
|
|
|
- ln -s SHARE_YOCTO_DOWNLOAD_FILE_FOLDER/ downloads
|
|
|
+ ln -s SHARE_YOCTO_DOWNLOAD_FILE_FOLDER/ ../downloads
|
|
|
|
|
|
# 编译:thead-build/ice-base/conf/auto.conf 中默认设置为 MACHINE ?= "ice"
|
|
|
bitbake core-image-minimal
|