[oe] Ideas for scripts, to save work, when building several boards

Koen Kooi k.kooi at student.utwente.nl
Thu Aug 13 21:18:47 UTC 2009


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 :)





More information about the Openembedded-devel mailing list