[OE-core] [PATCH 0/3] Initial configuration for the CSL 2011.03 external toolchain for ARM
Ken Werner
ken.werner at linaro.org
Wed Dec 14 22:58:29 UTC 2011
Hi there,
I've spent some time on getting OE-Core compiled with the CSL 2011.03 external
binary toolchain for ARM GNUEABI. I've started with the existent csl recipe
and the steps that Tom documented [*] which have been very useful. It turned
out that only one change to OE-Core was needed to get the minimal image
working. The pre-configuration step of the libc-package needs to be override-
able by other recipes - just like Tom described. Here is what I've added to my
local.conf for building the core-image-minimal:
TCMODE = "external-csl-arm-2011.03"
ENABLE_BINARY_LOCALE_GENERATION = "0"
In order to build the sato and Qt4-demo images I need a small change to the
cmake.bbclass that allows cmake to find the binaries of the external toolchain.
In addition I had to disable localization support to prevent the system to pull
in a dependency to eglibc-locale:
PACKAGE_NO_LOCALE = "1"
PACKAGE_NO_GCONV = "1"
IMAGE_LINGUAS = ""
LIMIT_BUILT_LOCALES = "POSIX"
Please note that currently the libc is provided by the sysroot of the external
toolchain. This might not be ideal and as time permits I'd like to find a way
to get eglibc build instead.
I'm still learning about OpenEmbedded and appreciate any suggestions.
Ken Werner (3):
Rename do_configure_prepend to do_pre_configure and add it before
do_configure
Add EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH
Add the Sourcery G++ Lite 2011.03 external toolchain for ARM
meta/classes/cmake.bbclass | 2 +-
meta/classes/libc-package.bbclass | 4 +-
.../include/tcmode-external-csl-arm-2011.03.inc | 33 +++++
.../meta/external-csl-toolchain_arm-2011.03.bb | 137 ++++++++++++++++++++
4 files changed, 173 insertions(+), 3 deletions(-)
create mode 100644 meta/conf/distro/include/tcmode-external-csl-arm-2011.03.inc
create mode 100644 meta/recipes-core/meta/external-csl-toolchain_arm-2011.03.bb
Regards
Ken
[*] http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/005221.html
--
1.7.5.4
More information about the Openembedded-core
mailing list