[OE-core] [PATCH] scripts/bitbake: Allow to override path to pseudodone, make BUILDDIR optional

Andreas Oberritter obi at opendreambox.org
Mon Mar 26 10:29:09 UTC 2012


On 26.03.2012 12:07, Paul Eggleton wrote:
> On Friday 23 March 2012 21:20:28 Andreas Oberritter wrote:
>> how do you propose to go on solving this problem?
> 
> My original patch solved a problem for many newer users who forget to cd back 
> to their build directories before running bitbake. At least now they get a 
> reasonable error message they can understand. I'm not going to support 
> reverting it unless we have a practical alternative and so far I don't see 
> one.
> 
> Your original reason for using the configuration you use was that pseudo was 
> being rebuilt for every new configuration. I have a fix here locally which will 
> skip doing this - it just needs to call bitbake -e in order to find out 
> STAGING_BINDIR_NATIVE if pseudodone hasn't been created.

Yes, this was my original reason (or better: the first one I mentioned).

However, I still don't want to export BUILDDIR just to run bitbake. It's
much more convenient to just have to call bitbake directly from every
machine's build directory than having to set up the environment every
single time the machine changes. How are me and my distro's users
supposed to do this in the future?

Can't bitbake just print a useful error message on its own if it doesn't
find a usable configuration?

Regards,
Andreas




More information about the Openembedded-core mailing list