From 3b9801756668913fd97011b01b41923c09a1e525 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Mon, 3 Jul 2023 11:58:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20Buildroot=20=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E8=AF=B4=E6=98=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../Buildroot/Buildroot_使用说明.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Software/Development/Environment/Buildroot/Buildroot_使用说明.md diff --git a/Software/Development/Environment/Buildroot/Buildroot_使用说明.md b/Software/Development/Environment/Buildroot/Buildroot_使用说明.md new file mode 100644 index 0000000..3acce2b --- /dev/null +++ b/Software/Development/Environment/Buildroot/Buildroot_使用说明.md @@ -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 | 软件包的安装目录 |