481
edits
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=Setting up | =Setting up Repo tool= | ||
Yocto's meta-layers are configured through '''repo''' tool, install it as follows. | Yocto's meta-layers are configured through '''repo''' tool, install it as follows. | ||
Line 41: | Line 41: | ||
repo sync | repo sync | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Set you desired yocto version using the following variables. | |||
{| class="wikitable" | |||
! Variable | |||
! Value | |||
! Yocto version | |||
|- | |||
| BRANCH | |||
| imx-linux-morty | |||
| rowspan="2" | Morty | |||
|- | |||
| MANIFEST | |||
| imx-4.9.51-8mq_ga.xml | |||
|- | |||
| BRANCH | |||
| imx-linux-rocko | |||
| rowspan="2" | Rocko | |||
|- | |||
| MANIFEST | |||
| imx-4.9.88-2.1.0-8mm_alpha.xml | |||
|} | |||
=Configuration= | =Configuration= | ||
Line 59: | Line 82: | ||
Keep in mind that the building can be configured with arguments, check the following tabla for more details. | Keep in mind that the building can be configured with arguments, check the following tabla for more details. | ||
{| class="wikitable" | |||
! -c <task> | |||
! Execute specific task for the image or recipe. Some examples: fetch, compile, clean, cleansstate, package. | |||
|- | |||
| -f | |||
| Force execution. | |||
|- | |||
| -v | |||
| Verbose mode. | |||
|- | |||
| -DDD | |||
| Enable debug information. | |||
|- | |||
| -s | |||
| Show recipe version. | |||
|- | |||
| -g <recipe> | |||
| Show dependency tree for the recipe. | |||
|- | |||
| -c listtasks <image_or_recipe> | |||
| Show the tasks associated with a recipe or image. | |||
|- | |||
| -k | |||
| keep running if an error appears. | |||
|- | |||
| --help | |||
| Detailed help information. | |||
|} | |||
In order to build your image, run the next command: | In order to build your image, run the next command: |
edits