[OE-core] do_patch signature confliction for gcc family recipes

Khem Raj raj.khem at gmail.com
Thu Feb 9 06:39:45 UTC 2012


On Wed, Feb 8, 2012 at 10:22 PM, Lu, Lianhao <lianhao.lu at intel.com> 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




More information about the Openembedded-core mailing list