On Wed, Feb 8, 2012 at 10:22 PM, Lu, Lianhao <[email protected]> wrote:
> I'm wondering if it is a correct way to fix this issue by excluding the PN 
> from do_patch dependency:
> diff --git a/meta/recipes-devtools/gcc/gcc-common.inc 
> b/meta/recipes-devtools/gc
> index e89a7c0..57668f9 100644
> --- a/meta/recipes-devtools/gcc/gcc-common.inc
> +++ b/meta/recipes-devtools/gcc/gcc-common.inc
> @@ -109,3 +109,4 @@ do_headerfix[vardepvalue] = "PATH"
>  # We need to ensure that for the shared work directory, the do_patch 
> singatures
>  # The real WORKDIR location isn't a dependency for the shared workdir.
>  src_patches[vardepsexclude] = "WORKDIR"
> +should_apply[vardepsexclude] = "PN"

I think its ok. gcc  does not use SRCREV at all and not SRCREV_PN so
excluding it is ok

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

Reply via email to