Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Holger Hans Peter Freyther <holger+oe@freyther.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 2/2] tune-xscale.inc: Use TARGET_ARCH to find endianness
Date: Thu, 10 Sep 2009 08:12:14 +0200	[thread overview]
Message-ID: <200909100812.14300.holger+oe@freyther.de> (raw)
In-Reply-To: <1252350704-9530-2-git-send-email-raj.khem@gmail.com>

On Monday 07 September 2009 21:11:44 Khem Raj wrote:
> * Use TARGET_ARCH to find endianness instead of
>   SITEINFO_ENDIANNESS which is not yet evaluated.
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Holger Hans Peter Freyther <zecke@selfish.org>

> ---
>  conf/machine/include/tune-xscale.inc |    9 ++++++---
>  1 files changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/conf/machine/include/tune-xscale.inc
> b/conf/machine/include/tune-xscale.inc index 7fa6447..3a6bd0e 100644
> --- a/conf/machine/include/tune-xscale.inc
> +++ b/conf/machine/include/tune-xscale.inc
> @@ -1,9 +1,12 @@
> -FEED_ARCH =  "${@['armv5teb',
> 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" +# this
> depends on fact that for ARM the TARGET_ARCH is 'arm' for little endian and
> 'armeb' for bigendian +# this is the case as of now for all arm machines in
> OE.
> +
> +FEED_ARCH =  "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d,
> 1) == 'arm']}"
>
>  TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
>  TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
> -PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t
> armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
> -BASE_PACKAGE_ARCH := "${@['armv5teb',
> 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
> +PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t
> armv5te'][ bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"
> +BASE_PACKAGE_ARCH = "${@['armv5teb',
> 'armv5te'][bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"
>
>  # Include tune file for thumb support, it defaults to off so DISTROs can
> turn it on if they wish require conf/machine/include/tune-thumb.inc



  reply	other threads:[~2009-09-10  6:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-07 19:11 [PATCH 1/2] tar_1.22.bb: Add recipe for 1.22 release Khem Raj
2009-09-07 19:11 ` [PATCH 2/2] tune-xscale.inc: Use TARGET_ARCH to find endianness Khem Raj
2009-09-10  6:12   ` Holger Hans Peter Freyther [this message]
2009-09-10  9:32   ` Leon Woestenberg
2009-09-10  6:11 ` [PATCH 1/2] tar_1.22.bb: Add recipe for 1.22 release Holger Hans Peter Freyther
2009-09-10  9:31 ` Leon Woestenberg
  -- strict thread matches above, loose matches on Subject: below --
2009-09-08 21:58 [PATCH 2/2] tune-xscale.inc: Use TARGET_ARCH to find endianness Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200909100812.14300.holger+oe@freyther.de \
    --to=holger+oe@freyther.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox