29 lines
No EOL
592 B
Markdown
29 lines
No EOL
592 B
Markdown
# Build
|
|
|
|
```bash
|
|
cd $POKY # YPCore cloned repository
|
|
source ./oe-init-build-env
|
|
|
|
# bitbake $TARGET
|
|
|
|
# Build apt recipe
|
|
bitbake apt
|
|
|
|
# Build core-image-minimal image
|
|
bitbake core-image-minimal
|
|
```
|
|
|
|
`TARGET` can be:
|
|
|
|
- The name of the image you want to build (`meta/recipes-*/images`).
|
|
- The name of a recipe to build, using the distribution and machine set in `$POKY/build/local.conf`
|
|
|
|
|
|
|
|
## Additional steps for images : `wic`
|
|
|
|
The image generated by bitbake is adapted for emulation purpose or read only disks.
|
|
|
|
With `wic`, you can setup the target partition table.
|
|
|
|
See section [wic](wic.md) |