From: eha@doredevelopment.dk
To: openembedded-devel@openembedded.org
Subject: Canadian SDK support
Date: Tue, 7 Oct 2008 14:51:33 +0200 [thread overview]
Message-ID: <1223383906-4111-1-git-send-email-eha@doredevelopment.dk> (raw)
In-Reply-To: <>
Hi
I have added preliminary support for canadian cross-building of toolchain/SDK
images.
The idea is to be able to build any combination of host->target toolchain
with OE. The primary goal here (for me), is to be able build mingw32
toolchains for OpenEmbedded projects, so that those unlucky Windows
developers can build and debug applications using native development
tools.
To avoid messing with with existing recipes more than needed, and the
cross-sdk recipes in particular, I have introduce 3 new classes:
canadian-cross, canadian-native, and canadian-sdk.
As the name suggest, they can to some extend be compared to the existing
cross, native, and cross-sdk classes.
canadian-cross recipes are for building internal cross compiler tools,
which will be used to build for the sdk architecture (fx. i586-mingw32).
The host triplet for canadian-cross is
build, build, sdk
canadian-native recipes are for building internal libraries for sdk arch.
The host triplet for canadian-native is
build, sdk, sdk
canadian-sdk recipes are for building the actual sdk cross compiler tools
which should be run on the sdk architecture.
The host triplet for canadian-sdk is
build, sdk, target
Currently, I am able to build using
target = powerpc-linux
sdk = i586-mingw32
Tested on
build = i686-linux
build = x86_64_linux
The only supported versions are
binutils = 2.18
gcc = 4.2.2
glibc = 2.6.1 (nptl)
All the necessary changes can be pulled from
http://git.doredevelopment.dk/openembedded.git
git://git.doredevelopment.dk/openembedded.git
which is a branch of org.openembedded.dev from the git trial repository,
or you can apply the attached patches on top of org.openembedded.dev
yourself.
Next steps will be to extend with more target architectures and with some
*-linux sdk architechtures.
Diffstat:
classes/canadian-cross.bbclass | 68 ++++
classes/canadian-native.bbclass | 90 ++++++
classes/canadian-sdk.bbclass | 97 ++++++
classes/cross.bbclass | 1
classes/insane.bbclass | 6
classes/native.bbclass | 2
classes/package_ipk.bbclass | 10
classes/sdk.bbclass | 3
classes/siteinfo.bbclass | 8
conf/bitbake.conf | 23 +
packages/binutils/binutils-canadian-cross.inc | 28 +
packages/binutils/binutils-canadian-sdk_2.18.bb | 29 ++
packages/binutils/mingw-binutils-canadian-cross_2.17.50-20060824-1.bb | 11
packages/binutils/mingw-binutils_2.17.50-20060824-1.bb | 12
packages/gcc/gcc-4.2.2/canadian-build-modules-configure.patch | 22 +
packages/gcc/gcc-canadian-cross-initial.inc | 4
packages/gcc/gcc-canadian-sdk-build.inc | 81 +++++
packages/gcc/gcc-canadian-sdk-package.inc | 36 ++
packages/gcc/gcc-canadian-sdk_4.2.2.bb | 27 +
packages/gcc/gcc-package-sdk.inc | 14
packages/gcc/mingw-gcc-3.4.5-20060117-2/includedir.patch | 12
packages/gcc/mingw-gcc-build.inc | 35 ++
packages/gcc/mingw-gcc-canadian-cross-initial_3.4.5-20060117-2.bb | 7
packages/gcc/mingw-gcc-canadian-cross_3.4.5-20060117-2.bb | 26 +
packages/gcc/mingw-gcc_3.4.5-20060117-2.bb | 25 +
packages/meta/canadian-sdk.bb | 143 ++++++++++
packages/meta/external-toolchain.bb | 2
packages/meta/meta-toolchain.bb | 4
packages/mingw/mingw-runtime-headers_3.14.bb | 20 +
packages/mingw/mingw-runtime_3.14.bb | 21 +
packages/mingw/mingw-w32api-headers_3.11.bb | 20 +
packages/mingw/mingw-w32api_3.11.bb | 17 +
packages/tasks/task-sdk-canadian-host.bb | 24 +
Best regards,
Esben Haabendal
next reply other threads:[~2008-10-07 12:56 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 12:51 eha [this message]
2008-10-07 12:51 ` [PATCH 01/13] Add BUILD/HOST/TARGET _EXEEXT variables for (ab)use by canadian sdk eha
2008-10-07 12:51 ` [PATCH 02/13] gcc-package.inc: add ${HOST_EXEEXT} support (for canadian sdk support) eha
2008-10-07 12:51 ` [PATCH 03/13] package_ipk.bbclass: add support for for canadian sdk ipkg eha
2008-10-07 12:51 ` [PATCH 04/13] siteinfo.bbclass: add cygwin and mingw32 support eha
2008-10-07 12:51 ` [PATCH 05/13] bitbake.conf: prepare for canadian sdk support eha
2008-10-07 12:51 ` [PATCH 06/13] canadian-cross.bbclass, canadian-native.bbclass, canadian-sdk.bbclass added eha
2008-10-07 12:51 ` [PATCH 07/13] insane.bbclass: add exceptions for canadian-* classes eha
2008-10-07 12:51 ` [PATCH 08/13] mingw-runtime, mingw-w32api, mingw-runtime-headers, mingw-w32api-headers eha
2008-10-07 12:51 ` [PATCH 09/13] mingw-binutils-canadian-cross eha
2008-10-07 12:51 ` [PATCH 10/13] mingw-gcc-canadian-cross, mingw-gcc-canadian-cross-initial eha
2008-10-07 12:51 ` [PATCH 11/13] binutils-canadian-sdk eha
2008-10-07 12:51 ` [PATCH 12/13] gcc-canadian-sdk_4.2.2.bb eha
2008-10-07 12:51 ` [PATCH 13/13] canadian-sdk.bb, task-sdk-canadian-host.bb eha
2008-10-07 13:35 ` Henning Heinold
2008-10-07 13:44 ` Esben Haabendal
2008-10-07 14:45 ` Otavio Salvador
2008-10-07 16:48 ` Esben Haabendal
2008-10-21 20:23 ` Canadian SDK support Esben Haabendal
2008-12-02 17:41 ` Tom Rini
2008-12-02 20:38 ` Richard Purdie
2008-12-02 21:21 ` Tom Rini
2008-12-06 21:45 ` Tom Rini
2008-12-07 19:33 ` Tom Rini
2008-12-07 20:00 ` Koen Kooi
2008-12-07 20:11 ` Tom Rini
2008-12-07 21:09 ` Koen Kooi
2008-12-07 21:15 ` Tom Rini
2008-12-08 5:24 ` Tom Rini
2008-12-07 21:40 ` Khem Raj
2008-12-07 22:16 ` Koen Kooi
2008-12-08 0:19 ` Khem Raj
2008-12-08 0:28 ` Philip Balister
2008-12-07 21:13 ` Khem Raj
-- strict thread matches above, loose matches on Subject: below --
2009-01-29 3:43 Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1223383906-4111-1-git-send-email-eha@doredevelopment.dk \
--to=eha@doredevelopment.dk \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.