[OE-core] [PATCH 1/3] autotools: fix multi-word arguments for EXTRA_OECONF

Chris Larson clarson at kergoth.com
Mon Oct 10 14:58:50 UTC 2011


On Fri, Oct 7, 2011 at 3:34 PM, Koen Kooi <koen at beagleboard.org> wrote:
>>
>> oe_runconf () {
>> -       if [ -x ${S}/configure ] ; then
>> -               cfgcmd="${S}/configure \
>> -               ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
>> -               bbnote "Running $cfgcmd..."
>> -               $cfgcmd || bbfatal "oe_runconf failed"
>> -       else
>> -               bbfatal "no configure script found"
>> -       fi
>> +       if [ -x ${S}/configure ] ; then
>> +              bbnote "Running ${S}/configure ${CONFIGUREOPTS}
>> ${EXTRA_OECONF} $@"
>> +              ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" ||
>> bbfatal "oe_runconf failed"
>> +       else
>> +              bbfatal "no configure script found"
>> +       f
>
> Was the tab->spaces conversion intentional?

Erm, nope, well spotted, thanks.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics




More information about the Openembedded-core mailing list