[oe] [PATCH (updated)] autotools.bbclass: enhanced oe_runconf() to accept quoted arguments

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Sun May 23 16:45:36 UTC 2010


Chris Larson <clarson at kergoth.com> writes:

>> >> This patch allows to pass quoted strings in EXTRA_OECONF.
>>
> I fail to see how this is a problem.  Seems to work fine for every
> other app, including make.

EXTRA_OEMAKE handling is implemented as

| ${MAKE} ${EXTRA_OEMAKE} "$@"

but EXTRA_OECONF as

| cfgcmd="... ${EXTRA_OECONF} $@"
| $cfgcmd


'make' arguments are expanded by bitbake which preserve the quoting.

The EXTRA_OECONF content was put into a shell variable and this variable
be executed.  This does not preserve quoting (and I am not aware of any
way how this can be with variable assignments).


> Is configure's argument passing that stupid, that it can't split by =
> and use the right side for the value?

It is not a configure issue, but a shell one.


Enrico




More information about the Openembedded-devel mailing list