Christopher Larson bfc86fd9c4 oe.external: move common functions here | 8 年之前 | |
---|---|---|
classes | 8 年之前 | |
conf | 8 年之前 | |
core | 9 年之前 | |
lib | 8 年之前 | |
recipes-external | 8 年之前 | |
README.md | 9 年之前 | |
TODO.md | 9 年之前 |
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.
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.EXTERNAL_TOOLCHAIN = "/path/to/your/sourcery-g++-install"
in conf/local.conf
.TCMODE = "external-sourcery-rebuild-libc"
, rather than relying
on the default value of external-sourcery
. After setting TCMODE appropriately, you
must also set SOURCERY_SRC_FILE = "/path/to/your/sourcery-g++-source-tarball"
or
SOURCERY_SRC_URI = "http://some.domain/some-path"
.The meta-sourcery layer.conf automatically defines TCMODE
for us, so this is no longer
necessary. The tcmode performs a number of operations:
TARGET_PREFIX
appropriately, after determining what prefix is in use by the toolchainEXTERNAL_TOOLCHAIN
: does the path exist? does the expected sysroot exist?URL: https://github.com/MentorEmbedded/meta-sourcery
To contribute to this layer, please fork and submit pull requests to the above repository with github, or open issues for any bugs you find, or feature requests you have.
See TODO.md