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
>From 0998a5a7305bc92509aee13f0103b05f1965022b Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
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 <[email protected]>
---
 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

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to