Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
en:power:tqmt10xx:linux:yocto:quickstart_yocto [2019/09/11 19:06] – liedmann | en:power:tqmt10xx:linux:yocto:quickstart_yocto [2019/09/12 08:57] – changed link to linux distro section liedmann | ||
---|---|---|---|
Line 38: | Line 38: | ||
//Yocto Project / Poky// requires a Linux build host, so first of all you need a development workstation (or a virtual machine((for testing purposes //Yocto Project// provides a ready to use virtual machine called [[https:// | //Yocto Project / Poky// requires a Linux build host, so first of all you need a development workstation (or a virtual machine((for testing purposes //Yocto Project// provides a ready to use virtual machine called [[https:// | ||
- | Please refer to section [[http://<label yocto_doc_base_url> | + | Please refer to section [[https://www.yoctoproject.org/docs/2.0.1/ |
Although not required by //Yocto Project / Poky//, we also recommend to configure and run a [[en: | Although not required by //Yocto Project / Poky//, we also recommend to configure and run a [[en: | ||
Line 53: | Line 53: | ||
**Install the repo tool on development host** | **Install the repo tool on development host** | ||
- | * Download the repo tool: curl http:// | + | * Download the repo tool: < |
- | * Make it executable: chmod +x repo | + | * Make it executable: |
- | * Move it to your system path: sudo mv repo / | + | * Move it to your system path: < |
- | * Verify installation: | + | * Verify installation: |
**Initialize the repository** | **Initialize the repository** | ||
- | * Create an empty directory: mkdir yocto && cd yocto | + | * Create an empty directory: |
- | * Initialize the repository: repo init -u ssh:// | + | * Initialize the repository: |
- | * Fetch all the source codes: repo sync | + | * Fetch all the source codes: |
**Setup the Yocto project build environment** | **Setup the Yocto project build environment** | ||
- | + | < | |
+ | cat > environment << EOF | ||
+ | export LOADENV_USER=tq | ||
+ | export TEMPLATECONF=meta-tq-powerarch/ | ||
+ | source poky/ | ||
+ | export BB_ENV_EXTRAWHITE=" | ||
+ | EOF | ||
+ | </ | ||