Patchwork [1/3] tcmode-default.inc: Add TRANSLATED_TARGET_ARCH suffix to binutils-cross-canadian

login
register
mail settings
Submitter Khem Raj
Date Oct. 21, 2011, 5:02 a.m.
Message ID <1319173361-11527-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/13675/
State Accepted
Commit d101a7d695a426f47b1ad9f8c4761e26b11e2b64
Headers show

Comments

Khem Raj - Oct. 21, 2011, 5:02 a.m.
PN for binutils-cross-canadian is
binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}
so thats what we should use for PREFERRED_VERSION

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/distro/include/tcmode-default.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Saul Wold - Oct. 26, 2011, 8:19 p.m.
On 10/21/2011 07:02 AM, Khem Raj wrote:
> PN for binutils-cross-canadian is
> binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}
> so thats what we should use for PREFERRED_VERSION
>
> Signed-off-by: Khem Raj<raj.khem@gmail.com>
> ---
>   meta/conf/distro/include/tcmode-default.inc |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
> index 86562be..2bf1beb 100644
> --- a/meta/conf/distro/include/tcmode-default.inc
> +++ b/meta/conf/distro/include/tcmode-default.inc
> @@ -45,7 +45,7 @@ PREFERRED_VERSION_libgcc-nativesdk ?= "${SDKGCCVERSION}"
>   PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
>   PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}"
>   PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}"
> -PREFERRED_VERSION_binutils-cross-canadian ?= "${BINUVERSION}"
> +PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
>   PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
>   PREFERRED_VERSION_linux-libc-headers-nativesdk ?= "${LINUXLIBCVERSION}"
>   PREFERRED_VERSION_eglibc                   ?= "${EGLIBCVERSION}"

Merged all 3 of these with the V2 of the GCC patch

Thanks
	Sau!

Patch

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 86562be..2bf1beb 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -45,7 +45,7 @@  PREFERRED_VERSION_libgcc-nativesdk ?= "${SDKGCCVERSION}"
 PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
 PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}"
 PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}"
-PREFERRED_VERSION_binutils-cross-canadian ?= "${BINUVERSION}"
+PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
 PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
 PREFERRED_VERSION_linux-libc-headers-nativesdk ?= "${LINUXLIBCVERSION}"
 PREFERRED_VERSION_eglibc                   ?= "${EGLIBCVERSION}"