[Bug 4664] New: Canadian SDK support

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Tue Oct 7 13:59:44 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4664

           Summary: Canadian SDK support
    Classification: Unclassified
           Product: Openembedded
           Version: unspecified
          Platform: All
               URL: http://dev.doredevelopment.dk/git?p=openembedded.git;a
                    =summary
        OS/Version: All
            Status: UNCONFIRMED
          Keywords: patch, toolchain
          Severity: normal
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: eha at doredevelopment.dk


Created an attachment (id=10702)
 --> (http://bugs.openembedded.net/attachment.cgi?id=10702)
0001-Add-BUILD-HOST-TARGET-_EXEEXT-variables-for-ab-use.patch

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.

Best regards,
Esben Haabendal

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list