[oe] [meta-oe][PATCH] bash-completion: remove allarch

Martin Jansa martin.jansa at gmail.com
Tue Mar 11 14:31:34 UTC 2014


On Fri, Mar 07, 2014 at 08:41:21AM +0000, Matthieu CRAPET wrote:
> Hi,
> 
> Does it mean that " allarch " is incompatible with "autotools" ? Is this true for all recipes?

No, autotools (the -native tools used by this bbclass) are OK, only
problem is when it tries to use CC (which is TUNE_PKGARCH specific).

There are even some recipes which are using autotools and were detecting
CC in configure.ac without any good reason, so they were patched to stop
doing this and to allow using allarch.

allarch.bbclass now resets couple variables to make sure that configure
will at fail if it tries to detect CC.

> -----Message d'origine-----
> De : openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-devel-bounces at lists.openembedded.org] De la part de Martin Jansa
> Envoyé : jeudi 6 mars 2014 18:05
> À : openembedded-devel at lists.openembedded.org
> Objet : [oe] [meta-oe][PATCH] bash-completion: remove allarch
> 
> * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be allarch
> 
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
> index ad7fd28..155fe90 100644
> --- a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
> +++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
> @@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852
>  
>  PARALLEL_MAKE = ""
>  
> -inherit allarch autotools
> +inherit autotools
>  
>  do_install_append() {
>  	install -d ${D}${sysconfdir}/bash_completion.d/
> -- 
> 1.9.0
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
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-devel/attachments/20140311/37295933/attachment-0002.sig>


More information about the Openembedded-devel mailing list