diff --git a/README.md b/README.md index cd806b9..7e8fd31 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,21 @@ OpenEmbedded/Yocto layer for the Sourcery G++ toolchain ======================================================= +Usage & Instructions +-------------------- + +- Ensure that you have the Sourcery G++ toolchain installed. +- If it's an ia32 toolchain, make sure you did *not* let it modify your PATH, + and if you did, remove it. + + This is necessary because the ia32 Sourcery G++ toolchain + shipped non-prefixed binaries (e.g. `gcc` rather than `i586-none-linux-gcc`), which + means bitbake would be unable to run the host's gcc directly anymore. +- Add the meta-sourcery layer to your `BBLAYERS` in `conf/bblayers.conf`. Please make + certain that it is listed before the `meta` layer, as this ensures meta-sourcery gets + priority over meta. +- Set `EXTERNAL_TOOLCHAIN = "/path/to/your/sourcery-g++-install"` in `conf/local.conf`. + Contributing ------------