前言
Orange Pi Linux 5.4 SDK文件说明。
一、图解
二、文字说明
1、启动脚本
~/orangepi/orangepi-build/build.sh
2、编译参数配置
~/orangepi/orangepi-build/userpatches/config-example.conf
3、菜单选择界面
~/orangepi/orangepi-build/scripts/main.sh
在main.sh加载相关脚本
# Load libraries
# shellcheck source=debootstrap.sh
source "\${SRC}"/scripts/debootstrap.sh # system specific install
# shellcheck source=image-helpers.sh
source "\${SRC}"/scripts/image-helpers.sh # helpers for OS image building
# shellcheck source=distributions.sh
source "\${SRC}"/scripts/distributions.sh # system specific install
# shellcheck source=desktop.sh
source "\${SRC}"/scripts/desktop.sh # desktop specific install
# shellcheck source=compilation.sh
source "\${SRC}"/scripts/compilation.sh # patching and compilation of kernel, uboot, ATF
# shellcheck source=compilation-prepare.sh
#source "\${SRC}"/scripts/compilation-prepare.sh # kernel plugins - 3rd party drivers that are not upstreamed. Like WG, AUFS, various Wifi
# shellcheck source=makeboarddeb.sh
source "\${SRC}"/scripts/makeboarddeb.sh # create board support package
# shellcheck source=general.sh
source "\${SRC}"/scripts/general.sh # general functions
# shellcheck source=chroot-buildpackages.sh
source "\${SRC}"/scripts/chroot-buildpackages.sh # building packages in chroot
# shellcheck source=pack.sh
source "\${SRC}"/scripts/pack-uboot.sh
4、单板配置
~/orangepi/orangepi-build/external/config/boards
5、编译配置
~/orangepi/orangepi-build/scripts/configuration.sh
6、芯片配置
~/orangepi/orangepi-build/external/config/sources/families/