Patchwork [resend] gcc-cross-canadian.inc: Add dependency on cross-gcc

login
register
mail settings
Submitter Mark Hatle
Date Dec. 18, 2012, 7:19 p.m.
Message ID <1355858364-26511-1-git-send-email-mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/41305/
State New
Headers show

Comments

Mark Hatle - Dec. 18, 2012, 7:19 p.m.
From: Khem Raj <raj.khem@gmail.com>

gcc-cross-canadian uses cross compiler during libgcc build
when building from sstate the build failed when building
gcc-cross-canadian since it did not populate gcc-cross
therefore add an explicit dependency on virtual/${TARGET_PREFIX}gcc
to make sure that gcc-cross is available before building
gcc-cross-canadian

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/recipes-devtools/gcc/gcc-cross-canadian.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Khem Raj - Dec. 19, 2012, 7:36 a.m.
this is needed on danny as well.

On Tue, Dec 18, 2012 at 11:19 AM, Mark Hatle <mark.hatle@windriver.com> wrote:
> From: Khem Raj <raj.khem@gmail.com>
>
> gcc-cross-canadian uses cross compiler during libgcc build
> when building from sstate the build failed when building
> gcc-cross-canadian since it did not populate gcc-cross
> therefore add an explicit dependency on virtual/${TARGET_PREFIX}gcc
> to make sure that gcc-cross is available before building
> gcc-cross-canadian
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
> ---
>  meta/recipes-devtools/gcc/gcc-cross-canadian.inc |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> index 64cf54e..f1824fa 100644
> --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> @@ -4,5 +4,5 @@ DESCRIPTION = "The cross-canadian GNU cc and gcc C compilers for ${TARGET_ARCH}
>  PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
>  BPN = "gcc"
>
> -DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext"
> +DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext"
>
> --
> 1.7.3.4
>

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 64cf54e..f1824fa 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -4,5 +4,5 @@  DESCRIPTION = "The cross-canadian GNU cc and gcc C compilers for ${TARGET_ARCH}
 PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
 BPN = "gcc"
 
-DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext"
+DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext"