Buildroot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Buildroot is a build system. | |||
=== Useful commands === | |||
Buildroot is built around ''Makefile''s. Each command should be run as follow: ''make <Target>''. | |||
{| class="wikitable" | {| class="wikitable" | ||
! | !Target | ||
!Comments | !Comments | ||
|- | |||
|toolchain | |||
|Build only the toolchain | |||
|- | |||
|<package> | |||
|Build the package and its dependencies | |||
|- | |- | ||
|''<package>''-cleandir | |''<package>''-cleandir | ||
| Line 7: | Line 17: | ||
|- | |- | ||
|<package>-reconfigure | |<package>-reconfigure | ||
| | |Remove the stamp to reconfigure and rebuild the package; useful after having change the configuration | ||
|- | |- | ||
|''<package>''-rebuild | |''<package>''-rebuild | ||
| | |Remove the stamp to rebuild the package | ||
|} | |} | ||
=== Notes === | |||
* By default, Buildroot compiles every library as shared. That is why the compilation of some projects failed at the link edition step because static symbols are stripped out of shared libraries. | |||
Latest revision as of 18:27, 14 July 2017
Buildroot is a build system.
Useful commands
Buildroot is built around Makefiles. Each command should be run as follow: make <Target>.
| Target | Comments |
|---|---|
| toolchain | Build only the toolchain |
| <package> | Build the package and its dependencies |
| <package>-cleandir | Remove the build folder of the package |
| <package>-reconfigure | Remove the stamp to reconfigure and rebuild the package; useful after having change the configuration |
| <package>-rebuild | Remove the stamp to rebuild the package |
Notes
- By default, Buildroot compiles every library as shared. That is why the compilation of some projects failed at the link edition step because static symbols are stripped out of shared libraries.