From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [130.89.2.8] (helo=smtp.utwente.nl) by linuxtogo.org with esmtp (Exim 4.67) (envelope-from ) id 1IfAY0-00025Q-5T for openembedded-devel@openembedded.org; Tue, 09 Oct 2007 10:34:36 +0200 Received: from dominion.dominion.void (dominion.kabel.utwente.nl [130.89.193.158]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l998Sh98027852 for ; Tue, 9 Oct 2007 10:28:43 +0200 Received: from www-data by dominion.dominion.void with local (Exim 4.60) (envelope-from ) id 1IfASJ-0002cG-4Y for openembedded-devel@lists.openembedded.org; Tue, 09 Oct 2007 10:28:43 +0200 Received: from dsl-62-220-14-162.berlikomm.net (dsl-62-220-14-162.berlikomm.net [62.220.14.162]) by dominion.kabel.utwente.nl (IMP) with HTTP for ; Tue, 09 Oct 2007 08:28:43 +0000 Message-ID: <1191918523.470b3bbb10a47@dominion.kabel.utwente.nl> Date: Tue, 09 Oct 2007 08:28:43 +0000 From: Koen Kooi To: openembedded-devel@openembedded.org References: <1191494488.2516.34.camel@toontown> <4704CC05.40206@klever.net> <1191502502.2516.39.camel@toontown> <4704F01B.70104@klever.net> <4705D99D.6070209@miromico.ch> In-Reply-To: MIME-Version: 1.0 User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Originating-IP: 62.220.14.162 X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: k.kooi@student.utwente.nl X-Spam-Status: No Subject: Re: oe for two target boards at the same time X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.9 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: Tue, 09 Oct 2007 08:34:36 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Quoting Cliff Brake : > On 10/5/07, Cliff Brake wrote: > > On 10/5/07, Alex wrote: > > > Hi all > > > > > > How do I setup my directory structure to use oe for two target boards. > > > > > > I have an AVR32 board and an AT91 board and would like to use oe for > > > both of them with at less dublicated software as possible. > > > I'd be interested in hearing how others set up their build directory. > > After studying Marcin's build setup, and Koen's autobuilder script, > I've come up with the following which is very similiar to Marcin's > setup. My needs are: > > - track several machines and distros, and possibly in the future > different OE trees, etc > - easily to automatically produce time-stamped snapshot builds (not done yet) > - easy for me to replicate on other machines > - easy for customers to replicate on other machines > > With the multimachine, you typically need one build directory per > distro, so the following is what I ended up with: If you only need to build one distro version you can do: TMPDIR = "/build/tmp/${DISTRO}" in local.conf > The downside of multimachine is you need to reparse the OE directory > every time you change machine, but the benefit of sharing tmp > directories for a bunch of machines in a distro more than makes up for > that. If you already built binutils you can remove MACHINE= from conf files and set it in env, e.g. : MACHINE=c7x0 bitbake mono ; MACHINE=fic-gta01 bitbake mono that saves you a complete reparse. regards, Koen ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.