Ma Jun 17e7db8daf sdk:Fix the sdk compile error | 3 years ago | |
---|---|---|
classes | 3 years ago | |
conf | 3 years ago | |
core | 4 years ago | |
lib | 4 years ago | |
recipes-external | 3 years ago | |
recipes-sdk | 8 years ago | |
.gitignore | 9 years ago | |
README.md | 8 years ago |
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
.KERNEL_48_PATCH_REMOVE = ""
in
conf/local.conf
to fix the build of the ppp
recipe.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. 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?To contribute to this layer, please fork and submit pull requests to the github repository, or open issues for any bugs you find, or feature requests you have.
This layer is maintained by Mentor Graphics Corporation. Please direct all support requests for this layer to the GitHub repository issues interface.
See TODO.md.