[OE-core] [PATCH] runqemu: take TMPDIR from bitbake

Anders Darander anders at chargestorm.se
Tue Jun 14 05:51:13 UTC 2011


On Tue, Jun 14, 2011 at 00:22, Yury Bushmelev <jay4mail at gmail.com> wrote:
> 2011/6/13 Anders Darander <anders at chargestorm.se>:
>> +        # We have bitbake in PATH, get TMPDIR from bitbake
>> +        TMPDIR=`bitbake -e | grep TMPDIR=\" | cut -d '=' -f2 | cut -d '"' -f2`
>
> This change inspired me just another crazy idea.
> Getting some variable from bitbake is frequently used task. May be our
> bitbake people will add some special mode to bitbake for this? E.b.
> like bsd make have (make -V KERNCONF)[1].
>
> I would suggest syntax like 'bitbake -V TMPDIR'

That would definitely simplify a few lines in a number of scripts.

I'll put it on my todo-list, although it is getting rather long now
(with very little time allocated for working on that list)...

Regards,
Anders




More information about the Openembedded-core mailing list