Buildroot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 9: | Line 9: | ||
|toolchain | |toolchain | ||
|Build only the toolchain | |Build only the toolchain | ||
|- | |||
|<package> | |||
|Build the package and its dependencies | |||
|- | |- | ||
|''<package>''-cleandir | |''<package>''-cleandir | ||
Revision as of 16:08, 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 | Reconfigure and rebuild the package; useful after having change the configuration |
| <package>-rebuild | 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.