From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lo.gmane.org ([80.91.229.12]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OczCA-0005mG-Qb for openembedded-devel@lists.openembedded.org; Sun, 25 Jul 2010 13:16:39 +0200 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OczBx-0004PS-0S for openembedded-devel@lists.openembedded.org; Sun, 25 Jul 2010 13:16:25 +0200 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Jul 2010 13:16:25 +0200 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Jul 2010 13:16:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@lists.openembedded.org From: Koen Kooi Date: Sun, 25 Jul 2010 13:16:15 +0200 Message-ID: References: <1279963975-3736-1-git-send-email-raj.khem@gmail.com> <20100724212502.GA4218@gmail.com> Mime-Version: 1.0 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100611 Shredder/3.0.6pre In-Reply-To: X-Enigmail-Version: 1.0.1 X-SA-Exim-Connect-IP: 80.91.229.12 X-SA-Exim-Mail-From: gcho-openembedded-devel@m.gmane.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [PATCH 0/3] Make multi-machine toolchains to co-exist. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 11:16:40 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25-07-10 10:32, Koen Kooi wrote: > On 24-07-10 23:25, Khem Raj wrote: >> 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. > > OK, applied that as well, 'MACHINE=beagleboard bitbake console-image ; > MACHINE=hawkboard bitbake console-image' works as well. > Let's see what xbmc does :) xbmc builds, but mplayer and gstreamer-ti fail. The fix for mplayer is simple, change configure:2106 from arm|armv4t|armv5te) to arm*). The gstreamer-ti one is a bit harder to fix: | checking host system type... Invalid configuration `beagleboard-angstrom-linux-gnueabi': machine `beagleboard-angstrom' not recognized | configure: error: /bin/sh ./config.sub beagleboard-angstrom-linux-gnueabi failed That recipe is machine specific, so for TARGET_ARCH == MACHINE_ARCH we probably need to change things. Does anyone have a sample on how to do that? regards, Koen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFMTBz+MkyGM64RGpERAoVGAJ915MD/4r74PfqhUF4VbX39xCluEACgr1M3 A07sGQ8Ju0+4EomNKUFhRzw= =4P5d -----END PGP SIGNATURE-----