Buildroot-ts installing software

From embeddedTS Manuals
Revision as of 12:51, 7 September 2021 by Kris (talk | contribs) (Update wording)

By default, Buildroot does not include a package manager. This means installing software directly on the platform can be cumbersome and is not the intended path. It is necessary to modify the Buildroot configuration to include additional packages. See the Building Buildroot section for information on modifying the configuration to build additional packages.

If a desired package is not available in Buildroot, there are a number of options available moving forward. It is possible to add packages to the build process, though this does require some knowledge of Buildroot internals. Another option is to use the cross compiler that is output by buildroot in order to compile packages on a host system and then copy them over to the target. It is also possible to install a toolchain directly on the device, and compile applications natively. The last option is the least recommended as it greatly increases the final image size and adds unnecessary complexity.