Skip to content

主要脚本

脚本用途
build-uboot.sh构建 U-Boot
build-linux.sh构建 NXP BSP 内核
build-mainline-linux.sh构建主线内核
build-busybox.sh构建 BusyBox
目录结构
scripts/
├── build_helper/          # 组件构建脚本
│   ├── build-uboot.sh
│   ├── build-linux.sh
│   ├── build-mainline-linux.sh
│   └── build-busybox.sh
├── release-all.sh         # 一键构建
├── patch_maker.sh         # 补丁生成
├── lib/                   # 共享库
├── logo_helper/           # Logo 处理
├── release_builder/       # 发布构建
├── server_helper/         # 服务器工具
└── third_party_install/   # 第三方安装
使用方法
bash
# 一键构建
./scripts/release-all.sh
bash
# 分步构建
./scripts/build_helper/build-uboot.sh
./scripts/build_helper/build-linux.sh
./scripts/build_helper/build-busybox.sh
bash
# 单独构建主线内核
./scripts/build_helper/build-mainline-linux.sh
延伸阅读

Built with VitePress