From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Ideas for scripts, to save work, when building several boards
Date: Fri, 14 Aug 2009 09:44:51 +0200 [thread overview]
Message-ID: <4A8515F3.3070502@atmel.com> (raw)
In-Reply-To: <h61vvo$n4v$1@ger.gmane.org>
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
next prev parent reply other threads:[~2009-08-14 8:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-13 7:13 Ideas for scripts, to save work, when building several boards Ulf Samuelsson
2009-08-13 8:38 ` Koen Kooi
2009-08-13 10:07 ` Ulf Samuelsson
2009-08-13 11:23 ` Koen Kooi
2009-08-13 12:10 ` Ulf Samuelsson
2009-08-13 12:44 ` Koen Kooi
2009-08-13 15:23 ` Ulf Samuelsson
2009-08-13 16:30 ` Koen Kooi
2009-08-13 20:36 ` Ulf Samuelsson
2009-08-13 21:18 ` Koen Kooi
2009-08-14 7:44 ` Ulf Samuelsson [this message]
2009-08-20 19:41 ` Marcin Juszkiewicz
2009-08-22 7:50 ` Ulf Samuelsson
2009-08-24 16:39 ` Otavio Salvador
2009-08-13 12:56 ` Holger Hans Peter Freyther
2009-08-13 13:55 ` Koen Kooi
2009-08-13 14:19 ` Holger Hans Peter Freyther
2009-08-13 12:18 ` Ulf Samuelsson
2009-08-13 12:46 ` Koen Kooi
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=4A8515F3.3070502@atmel.com \
--to=ulf.samuelsson@atmel.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.