README.md: add usage/instructions

Fixes #9
This commit is contained in:
Christopher Larson
2013-07-25 10:26:33 -07:00
parent 227565a5df
commit edaebec853
+15
View File
@@ -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
------------