Yocto Project Lesser Known Features
summary
Covers concrete Yocto knobs: enable LTO via lto.inc and the distro feature to shrink binaries ~5% on average while increasing compile time and exposing extra link-time errors, or use clang’s tenLTO as a speed/benefit compromise. Shows how to switch libc to musl or build newlib/bare‑metal toolchains, use multi‑config to produce multiple images and SDKs, and enable distro features like usermerge or read‑only root. Explains offline mirror creation with PB_GENERATE_MIRROR_TARBALL plus BB_NO_NETWORK, rm_work and shared‑state cleanup for disk savings, and using bmap2 to cut SD flashing time.
AI-written summary · about
chapters (10)
- 0:00Introduction to lesser known features
- 1:27Link Time Optimizations in Yocto
- 11:30Alternative C libraries in Yocto
- 16:55Multi-config feature and bare metal
- 17:58Useful distro features overview
- 20:05Customizing images and hostname
- 21:52Efficient initramfs image creation
- 23:59Offline builds and mirrors
- 26:08Managing disk space with RM work
- 27:12Speeding up SD card flashing with bmap2
