From edaebec8535aee7f2677521d1120c6ccfda10cc4 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Thu, 25 Jul 2013 10:26:33 -0700 Subject: [PATCH] README.md: add usage/instructions Fixes #9 --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 ------------