Buildroot: Difference between revisions
Jump to navigation
Jump to search
Created page with "TODO cleandir rebuild" |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Buildroot is a build system. | |||
cleandir | === Useful commands === | ||
rebuild | Buildroot is built around ''Makefile''s. Each command should be run as follow: ''make <Target>''. | ||
{| class="wikitable" | |||
!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. | |||
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.