diff options
| author | Pierre-Jean Texier <pjtexier@koncepto.io> | 2020-01-14 23:23:55 +0100 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-01-22 18:09:10 +0000 |
| commit | d058d2a2cf1a40dd39ebf344faad504f3458f7b2 (patch) | |
| tree | 2bcac209c4cd74c4c61e85e8bc7762a939d3a990 /dynamic-layers/qt5-layer | |
| parent | 05c86e3160956813d1dccd372863733b5a4e3438 (diff) | |
| download | meta-raspberrypi-d058d2a2cf1a40dd39ebf344faad504f3458f7b2.tar.gz | |
kas-poky-rpi: add kas file
The kas tool provides an easy mechanism to setup bitbake based projects.
As explained in [1] the key features provided by kas are:
- clone and checkout bitbake layers
- create default bitbake settings (machine, arch, ...)
- launch minimal build environment, reducing risk of host contamination
- initiate bitbake build process
So, let's create a minimal example in this layer to build an image with a
small effort. This seems interesting for new users of the meta-raspberrypi.
For example:
$: sudo pip3 install kas
$: mkdir rpi
$: cd rpi
$: git clone https://github.com/agherzan/meta-raspberrypi.git
$: kas build meta-raspberrypi/kas-poky-rpi.yml
and that's all !
To adjust the construction with specific options (I2C, SPI, ...), simply add
a section as follows:
local_conf_header:
rpi-specific: |
ENABLE_I2C = "1"
RPI_EXTRA_CONFIG = "dtoverlay=pi3-disable-bt"
To configure the machine, the user have to update the 'machine' variable.
And the same for the 'distro'.
[1] - https://kas.readthedocs.io/en/1.0/userguide.html
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Diffstat (limited to 'dynamic-layers/qt5-layer')
0 files changed, 0 insertions, 0 deletions
