A script to made easily an embedded Linux system with OpenEmbedded/Poky from scratch with a combo-layer configurations:
- Download combo-layer script
- Initialize repositories are defined in the combo-layer configuration
- Source the build environment
- Edit local.conf to update the build configuration (distro...)
- Edit bblayers.conf to add additional layers
- Run bitbake to build the target image
$ ./oe-build-easy --help Usage: oe-build-easy [options] CONFIG_PATH Options: -c, --compodir COMBO_PATH Directory path of components -C, --combodir COMPO_PATH Directory path of combination -i, --image IMAGE Name of target image -m, --machine MACHINE Name of target machine -d, --distro DISTRO Name of distribution -b, --build PATH Directory path of build -H, --history PATH Directory path of buildhistory -p, --packages CLASSES List of packaging formats to enable -o, --options OPTIONS Additional BitBake's options -D, --debug Print debug message -h, --help Print usage message
To build a distroless minimal image for qemux86 target:
$ ./oe-build-easy ./examples/core.conf \ --machine qemux86 \ --image core-image-minimal
To build a Poky sato image for qemuarm target:
$ TEMPLATECONF=meta-yocto/conf ./oe-build-easy ./examples/poky.conf \ --machine qemuarm \ --distro poky \ --image core-image-sato
- Add additional parameters and options
- Add debug message
- Finish to add the support of combo-layer update
- Implement build-all and parse-all target in Makefile
- Check Makefile parameters
- Can't build Tizen distribution, because oe-init-build-env is renamed to tizen-init-build-env