From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Mbrj9-0004bN-Ji for openembedded-devel@lists.openembedded.org; Fri, 14 Aug 2009 10:01:32 +0200 Received: from [10.175.196.247] (213.66.88.44) by pne-smtpout2-sn2.hy.skanova.net (7.3.140.3) (authenticated as u82406562) id 4A5BC8BE0027088D for openembedded-devel@lists.openembedded.org; Fri, 14 Aug 2009 09:44:53 +0200 Message-ID: <4A8515F3.3070502@atmel.com> Date: Fri, 14 Aug 2009 09:44:51 +0200 From: Ulf Samuelsson Organization: Atmel Nordic AB User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4A83BD15.7070006@atmel.com> <4A83E5FC.2020002@atmel.com> <4A8402B0.1000308@atmel.com> <4A842FF6.70906@atmel.com> <4A84793A.3090203@atmel.com> In-Reply-To: Subject: Re: Ideas for scripts, to save work, when building several boards 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: Fri, 14 Aug 2009 08:01:33 -0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Koen Kooi skrev: > On 13-08-09 22:36, Ulf Samuelsson wrote: >> Koen Kooi skrev: >>> On 13-08-09 17:23, Ulf Samuelsson wrote: >>> >>>> I maintain that if I do "MACHINE=at91sam9260dfc bitbake at91bootstrap" >>>> from the build directory, it is ignored and the MACHINE definition >>>> (MACHINE=at91sam9261df) in local.conf is used. >>> >>> Yes, local.conf takes precedence over env, so remove it from local.conf. >>> >> >> Thanks, >> It is easier in the script to symlink "build/conf/local.conf" to >> "build/conf/${MACHINE}.conf" which has the correct MACHINE definition. >> Then I can use the script as well as building manually >> without having to remember to set MACHINE explicitly > > ehm... > > So you're saying "it's easier to do ln conf/mymachine.conf > conf/local.conf ; bitbake foo than to do MACHINE=mymachine bitbake foo > because I don't need to remember machine". To me that doesn't make sense > since either way you end up setting machine pretty much manually. And > your 'easier' way incurs a 10 minutes reparse penalty when switching > machines while mine doesn't. I guess you like coffee breaks more than I > do :) > The reason for doing a script is to allow building multiple stuff when I am sleeping or travelling, and as long as things complete I do not mind the 10 minute pauses. When I am working interactively, I do not want to specify MACHINE everytime I do something Maybe this is something that would work... alias bitbake="MACHINE=${BB_MACHINE} /path/to/bitbake" -- Best Regards Ulf Samuelsson