增加 Buildroot 使用说明.
Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
parent
9fbdff9880
commit
3b98017566
|
@ -0,0 +1,25 @@
|
||||||
|
# Buildroot 使用说明
|
||||||
|
|
||||||
|
## Buildroot 的构建过程
|
||||||
|
|
||||||
|
Here are the steps Buildroot goes through when building a package:
|
||||||
|
|
||||||
|
1. Download the package (to the dl directory)
|
||||||
|
2. Extract the package (inside the output/build directory)
|
||||||
|
3. Patch the source code
|
||||||
|
4. Configure the package
|
||||||
|
5. Build the package
|
||||||
|
6. Install the package (to output/target directory)
|
||||||
|
|
||||||
|
## 主要目录
|
||||||
|
|
||||||
|
| Directory | Description |
|
||||||
|
|-----------|-------------|
|
||||||
|
| configs | 用于存储 defconfig 等配置文件 |
|
||||||
|
| dl | 软件包临时下载目录 |
|
||||||
|
| docs | 文档说明等 |
|
||||||
|
| linux | Linux 内核的编译指导(*.mk 和 Config 文件) |
|
||||||
|
| package | 应用程序和中间件、库等的编译指导(*.mk 和 Config 文件) |
|
||||||
|
| toolchain | 编译和构建工具 |
|
||||||
|
| output/[platform]/build | 软件包编译的解压目录 |
|
||||||
|
| output/[platform]/target | 软件包的安装目录 |
|
Loading…
Reference in New Issue