[OE-core] [PATCH] guile: fix the depends for target recipes

Martin Jansa martin.jansa at gmail.com
Fri Jan 3 10:15:48 UTC 2014


On Fri, Jan 03, 2014 at 05:37:32PM +0800, jackie.huang at windriver.com wrote:
> From: Jackie Huang <jackie.huang at windriver.com>
> 
> The depenency on guild-native and libatomics-ops is missing
> in multilib build, fix the depends with class-target.
> 
> Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
> ---
>  meta/recipes-devtools/guile/guile_2.0.9.bb |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/guile/guile_2.0.9.bb b/meta/recipes-devtools/guile/guile_2.0.9.bb
> index 4c3fe28..cb7c72e 100644
> --- a/meta/recipes-devtools/guile/guile_2.0.9.bb
> +++ b/meta/recipes-devtools/guile/guile_2.0.9.bb
> @@ -33,7 +33,7 @@ BBCLASSEXTEND = "native"
>  
>  DEPENDS = "libunistring bdwgc gmp libtool libffi"
>  # add guile-native only to the target recipe's DEPENDS
> -DEPENDS += "${@['guile-native libatomics-ops', ''][d.getVar('PN', True) != 'guile']}"
> +DEPENDS_append_class-target += "guile-native libatomics-ops"

Don't use _append together with +=, just add space before guile-native.

>  
>  RDEPENDS_${PN}_append_libc-glibc_class-target = "glibc-gconv-iso8859-1"
>  
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140103/dff8871e/attachment-0002.sig>


More information about the Openembedded-core mailing list