Chris Larson <[email protected]> writes:

>> This patch allows to pass quoted strings in EXTRA_OECONF.  E.g. with
>> this patch, it is possible to do
>>
>> | EXTRA_OECONF = "--with-build-cflags='${BUILD_CFLAGS}'"
>>
>> where 'BUILD_CFLAGS' contains multiple, whitespace separated arguments.
>>
>
> I don't think that doing EXTRA_OECONF =
> "'--with-build-cflags=${BUILD_CFLAGS}'"
>
> is that much more difficult, and works today, unless I'm missing
> something?

It does not work today... E.g. try the recipe

---- xxx.bb -----
EXTRA_OECONF = "--with-build-cflags='-O2 -g3 --help'"

inherit autotools

do_unpack() {
    mkdir -p ${S}
    echo 'AC_INIT()' > ${S}/configure.ac
}
----


Without the patch, there will be called

| $ ./bitbake -b /tmp/xxx.bb -c configure -f -D
| ...
| + ..../configure ...  '--with-build-cflags='\''-O2' -g3 '--help'\'''

and with the patch

| + ..../configure ...  '--with-build-cflags=-O2 -g3 --help'



Enrico

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to