From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 0/3] Make multi-machine toolchains to co-exist.
Date: Sat, 24 Jul 2010 14:25:02 -0700 [thread overview]
Message-ID: <20100724212502.GA4218@gmail.com> (raw)
In-Reply-To: <i2fjoo$iiu$1@dough.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]
On (24/07/10 22:51), Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 24-07-10 11:32, Khem Raj wrote:
> > Hi
> >
> > Following three patches are for making multi-machine toolchains co-exist with
> > new cross staging for toolchain.
> >
> > It changes the toolchain triplet from TARGET_ARCH-VENDOR-OS to TARGET_SUB_ARCH-VENDOR-OS
> >
> > which means that a toolchain for armv7 is called armv7-oe-linux-gnueabi-*
> > and for armv5te its called armv5te-oe-linux-gnueabi-*
> >
> > They can coexist in same native sysroot. The symlinks would mean that
> > gcc will not accidently mix the assemblers or linkers.
> >
> > I have booted a minimal-image on qemuarm successfully. The build for
> > beagleboard in same sysroot is underway.
> >
> > Please give it a shot in your environments (especially Koen's env)
>
> MACHINE=beagleboard bitbake nano ; MACHINE=hawkboard bitbake nano work,
> going to try a bigger build now.
You will need 4th patch which is attached here, for the sdk recipes.
Thanks
-Khem
[-- Attachment #2: 0001-sdk.bbclass-override-BASEPKG_HOST_SYS-as-it-is-used-.patch --]
[-- Type: text/x-diff, Size: 964 bytes --]
From 0998a5a7305bc92509aee13f0103b05f1965022b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 24 Jul 2010 14:21:42 -0700
Subject: [PATCH] sdk.bbclass: override BASEPKG_HOST_SYS as it is used to make TARGET_SYS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
classes/sdk.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass
index 198d147..049fda1 100644
--- a/classes/sdk.bbclass
+++ b/classes/sdk.bbclass
@@ -15,6 +15,7 @@ PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
# Also save BASE_PACKAGE_ARCH since HOST_ARCH can influence it
OLD_BASE_PACKAGE_ARCH := "${BASE_PACKAGE_ARCH}"
BASE_PACKAGE_ARCH = "${OLD_BASE_PACKAGE_ARCH}"
+BASEPKG_HOST_SYS = "${BUILD_ARCH}-${HOST_OS}"
STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk"
STAGING_DIR_TARGET = "${STAGING_DIR}/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
--
1.7.1
next prev parent reply other threads:[~2010-07-24 21:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-24 9:32 [PATCH 0/3] Make multi-machine toolchains to co-exist Khem Raj
2010-07-24 9:32 ` [PATCH 1/3] bitbake.conf: Define HOST_SYS and TARGET_SYS based on target sub-arch Khem Raj
2010-07-24 9:32 ` [PATCH 2/3] binutils-cross.inc, binutils.inc: Overhaul for new cross dir structure Khem Raj
2010-07-24 9:32 ` [PATCH 3/3] gcc-cross: Use EXTRA_OECONF_PATHS in initial and intermediate recipes Khem Raj
2010-07-24 10:47 ` [PATCH 0/3] Make multi-machine toolchains to co-exist Koen Kooi
2010-07-24 20:51 ` Koen Kooi
2010-07-24 21:25 ` Khem Raj [this message]
2010-07-25 8:32 ` Koen Kooi
2010-07-25 11:16 ` Koen Kooi
2010-07-25 12:31 ` Koen Kooi
2010-07-25 14:41 ` Khem Raj
2010-07-25 15:10 ` Koen Kooi
2010-07-25 15:53 ` Richard Purdie
2010-07-25 19:43 ` Khem Raj
2010-07-26 7:50 ` Koen Kooi
2010-07-26 8:54 ` Khem Raj
2010-07-25 15:21 ` Richard Purdie
2010-07-25 14:30 ` Khem Raj
2010-07-25 15:19 ` Koen Kooi
2010-07-26 9:02 ` Eric Bénard
2010-07-26 9:01 ` Eric Bénard
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=20100724212502.GA4218@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.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.