twoerner / oe-layerindex-config

A proof-of-concept work-in-progress attempt at a new configuration workflow for OE builds
1 stars 0 forks source link

oe-layerindex-config

This is a proof-of-concept, work-in-progress attempt at a new configuration workflow for OE builds.

The idea is that a person wants to make a build for the board sitting on their desk. As such they want a configuration setup that is board-focused. This configuration helper leverages the information collected in the OE layer index [1] to guide the user through the configuration process.

The user will still use bitbake to perform the build and is free to tweak the configuration. This utility is meant to be a configuration helper, in essence, a replacement for the "source openembedded-core/oe-init-build-env" step.

Prerequisites

Since the point of this tool is to help you prepare some part of your computer to perform OE builds, you will need to follow the "Yocto Project Quick Start" guide to prepare your computer, in general, for performing an OE build:

http://www.yoctoproject.org/docs/latest/yocto-project-qs/yocto-project-qs.html#yp-resources

In addition to the required packages cited in the above document, in order to use this tool you'll also need to install:

- python-dialog

How to Use It

  1. checkout this repository somewhere
  2. source the oesetup.sh script

e.g.

$ mkdir ~/devel/extern; cd ~/devel/extern
$ git clone git://github.com/twoerner/oe-layerindex-config.git
$ mkdir ~/oebuild; cd ~/oebuild
$ . ~/devel/extern/oe-layerindex-config/oesetup.sh

The scripts guide you through selecting your branch, machine, distro, download directory. When you are done it leaves you in the build directory from which you can issue a bitbake command (e.g. bitbake core-image-minimal).

TODO

[1] http://layers.openembedded.org/layerindex