4 ms·
Another project to check out if you enjoy LFS is buildroot. Buildroot uses Kconfig (and associated tools like menuconfig, config, etc.) same as the kernel, to
by jakogut 2y ago
Another project to check out if you enjoy LFS is buildroot.
Buildroot uses Kconfig (and associated tools like menuconfig, config, etc.) same as the kernel, to generate a configuration for building an embedded Linux system. This configuration can be committed and patched in the repo for your project. Adding an application or library automatically pulls in dependencies. Configs can be merged with fragments that add specific features.
Buildroot is capable of building its own cross compilation tool chain for many architectures, and enables developers to choose their own libc, and other toolchain configurations. It can also be configured to pull a prebuilt toolchain tarball to save time.
Packages are written in GNU Make, and macros are available for pulling code from GitHub and building packages using autoconf, cmake, meson, golang, Rust, python, and many more.
It works fantastically for anything from building an embedded Linux distro for something like digital signage, to a self-contained network bootable application for large scale automated provisioning of devices, to building minimal tarballs of filesystems to run as containers.
- itomato 2y agoIt’s cool but adding more than a package or two in the buildroot way is where I would get into the weeds. I’m sometimes surprised a fork with better approach to package management doesn’t exist yet.