Basic commands¶
Everyday commands for building a full image, or just the kernel or U-Boot bootloader.
requirements¶
Installs the packages and tools the build host needs. Run it once before your first native build. When building in Docker (the default) the container already has everything, so this is only needed for bare-metal/WSL2 hosts.
Usage:
| Bash | |
|---|---|
build¶
The default command. Builds a full OS image (or only the requested artifacts, depending on the switches) for the selected board and release. This is what runs when you invoke ./compile.sh with no command, or explicitly:
Usage:
| Bash | |
|---|---|
kernel¶
Builds only the kernel and device tree (where applicable) and places the packages in output/debs.
Usage:
| Bash | |
|---|---|
kernel-config¶
Automatically call kernel’s make menuconfig (add or remove modules or features)
Usage:
| Bash | |
|---|---|
uboot¶
Builds only the U-Boot bootloader and places the package in output/debs.
Usage:
| Bash | |
|---|---|
uboot-config¶
Calls U-Boot’s make menuconfig so you can change the bootloader configuration interactively — the U-Boot counterpart to kernel-config.
Usage:
| Bash | |
|---|---|