[OE-core] bitbake parsing of IMAGE_INSTALL += # tslib mtd-utils" extremely user unfriendly.

Leon Woestenberg sidebranch.openembedded at gmail.com
Sun Feb 26 19:35:14 UTC 2012


Hello Richard,

On Sun, Feb 26, 2012 at 2:06 PM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> On Mon, 2012-02-20 at 23:00 +0100, Leon Woestenberg wrote:
> > bitbake can really braindump on us when we insert typo's.  The result
> > of bitbake 1.14 parsing this one wasn't pleasant:
> >
> > IMAGE_INSTALL += # tslib mtd-utils"
> >
> > (Yes, it's a typo. No, I wouldn't expect bitbake to give me that much
> > output :) )
>
> I agree we need to fix that. I've proposed a patch to bitbake which
> would allow detection and a better error message for something like this
> by enforcing quoting of variables. It is a major change in bitbake's
> behaviour though so I'm taking feedback on whether we should make the
> change.
>

If we focus on our user interface view, that would mean this will no longer
work:

SOME_BINARY_VARIABLE = 1

but that might be a better compromise than what we currently have.

Regards,

Leon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120226/dd3fdb11/attachment-0002.html>


More information about the Openembedded-core mailing list