Skip to content

Commit

Permalink
README: update to work with repo
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
  • Loading branch information
texierp committed Mar 6, 2018
1 parent 251be8a commit 0419693
Showing 1 changed file with 23 additions and 38 deletions.
61 changes: 23 additions & 38 deletions README.md
Expand Up @@ -3,7 +3,6 @@
This README file contains information on building the meta-warp7-distro DISTRO layer.
Please see the corresponding sections below for details.


## Quick Start

To get the BSP you need to have repo installed and use it as:
Expand All @@ -21,56 +20,42 @@ $: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin
$: mkdir warp7_bsp
$: cd warp7_bsp
$: repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master
$: repo sync
$: repo init -u https://github.com/texierp/yocto-warp7-bsp-repo -b master
$: repo sync -j8
```

At the end of the commands you have every metadata you need to start work with.

To start a simple image build :

```
$: cd sources
$: git clone -b master https://github.com/WaRP7/meta-warp7-distro.git
$: git clone -b master https://github.com/meta-qt5/meta-qt5.git
$: git clone -b master https://github.com/sbabic/meta-swupdate.git
$: cd ../
$: MACHINE=imx7s-warp DISTRO=warp7 source setup-environment warp7-build/
...
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support
Your build environment has been configured with:
MACHINE=imx7s-warp
SDKMACHINE=i686
DISTRO=warp7
EULA=
$: MACHINE=imx7s-warp DISTRO=warp7 source setup-environment warp7-build/
...
Welcome to WaRP7 BSP !
You can now run 'bitbake <target>'
Common targets are:
base-image
qt5-image
meta-toolchain-qt5
Your build environment has been configured with:
MACHINE=imx7s-warp
SDKMACHINE=i686
DISTRO=warp7
EULA=
```
Add layers to bblayers.conf

```
$: bitbake-layers add-layer ../sources/meta-qt5/
$: bitbake-layers add-layer ../sources/meta-warp7-distro/
$: bitbake-layers add-layer ../sources/meta-swupdate/
$: bitbake-layers add-layer ../sources/meta-openembedded/meta-python/
$: bitbake-layers add-layer ../sources/meta-openembedded/meta-networking/
```
Finally
```
$: bitbake qt5-image
```

or






```
$: bitbake base-image
```

0 comments on commit 0419693

Please sign in to comment.