Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Tom Rini <tom_rini@mentor.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/5] kernel-arch: Add handling of powerpc64
Date: Fri, 22 Jul 2011 07:16:20 -0700	[thread overview]
Message-ID: <4E298634.1020704@mentor.com> (raw)
In-Reply-To: <1311326696-11745-4-git-send-email-galak@kernel.crashing.org>

On 07/22/2011 02:24 AM, Kumar Gala wrote:
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Acked-by: Tom Rini <tom_rini@mentor.com>

> ---
>  meta/classes/kernel-arch.bbclass |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
> index 86c15d3..225d599 100644
> --- a/meta/classes/kernel-arch.bbclass
> +++ b/meta/classes/kernel-arch.bbclass
> @@ -6,7 +6,7 @@
>  
>  valid_archs = "alpha cris ia64 \
>                 i386 x86 \
> -               m68knommu m68k ppc powerpc ppc64  \
> +               m68knommu m68k ppc powerpc powerpc64 ppc64  \
>  	       sparc sparc64 \
>                 arm  arm26 \
>                 m32r mips \
> @@ -24,6 +24,7 @@ def map_kernel_arch(a, d):
>  	elif re.match('arm26$', a):		        return 'arm26'
>  	elif re.match('armeb$', a):		        return 'arm'
>  	elif re.match('mipsel$', a):		        return 'mips'
> +	elif re.match('p(pc|owerpc)(|64)', a):		return 'powerpc'
>  	elif re.match('sh(3|4)$', a):		        return 'sh'
>  	elif re.match('bfin', a):                       return 'blackfin'
>  	elif re.match('microblazeel', a):               return 'microblaze'
> @@ -36,7 +37,7 @@ export ARCH = "${@map_kernel_arch(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
>  def map_uboot_arch(a, d):
>  	import re
>  
> -	if   re.match('powerpc$', a): return 'ppc'
> +	if   re.match('p(pc|owerpc)(|64)', a): return 'ppc'
>  	elif re.match('i.86$', a): return 'x86'
>  	return a
>  


-- 
Tom Rini
Mentor Graphics Corporation



  parent reply	other threads:[~2011-07-22 14:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22  9:24 [PATCH 0/5] Add support for powerpc64 Kumar Gala
2011-07-22  9:24 ` [PATCH 1/5] insane.bbclass: Recognise powerpc64 Kumar Gala
2011-07-22  9:24   ` [PATCH 2/5] libc: Add handling of powerpc64 Kumar Gala
2011-07-22  9:24     ` [PATCH 3/5] kernel-arch: " Kumar Gala
2011-07-22  9:24       ` [PATCH 4/5] libart-lgpl: Add missing config file - allows builds on PowerPC 64 Kumar Gala
2011-07-22  9:24         ` [PATCH 5/5] openssl: Add handling for building on linux-powerpc64 Kumar Gala
2011-07-22 14:16           ` Tom Rini
2011-07-22 14:16       ` Tom Rini [this message]
2011-07-22 10:53 ` [PATCH 0/5] Add support for powerpc64 Richard Purdie
2011-07-22 14:19 ` Tom Rini
2011-07-22 14:55   ` Kumar Gala

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=4E298634.1020704@mentor.com \
    --to=tom_rini@mentor.com \
    --cc=openembedded-core@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