Op 28 jul. 2011, om 04:19 heeft Kumar Gala het volgende geschreven:

> In meta/recipes-extended/libzypp/libzypp_git.bb we having something that 
> looks like:
> 
>        while [ $# -gt 0 ]; do
>               ...
>                if [ "${AVOID_CONSTRUCTOR}" != "true" ]; then
>                  ARCH="_$1"
>                else
>                  ARCH="IdString(\"$1\")"
>                fi
>               ...
>                COMPAT_WITH="${ARCH},${COMPAT} $COMPAT_WITH"
>        done
> 
> The problem is the COMPAT_WITH line should show up in the resulting script as 
> is, however its not getting expanded because ARCH is set.  So we end up with:
> 
>       COMPAT_WITH="powerpc,${COMPAT} $COMPAT_WITH"
> 
> instead of
> 
>       COMPAT_WITH="${ARCH},${COMPAT} $COMPAT_WITH"
> 
> Not quite sure how to fix this w/regards to quoting to prevent the expansion. 
>  One solution is to just rename ARCH to something like CARCH.

Not really a solution to your problem, but in general ${FOO} gets expanded by 
bitbake, $FOO gets expanded by shell.

regards,

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

Reply via email to