Patchwork [meta-java,2/2] llvm, openjdk: Add mips to known architectures

login
register
mail settings
Submitter Khem Raj
Date Jan. 5, 2012, 10:09 p.m.
Message ID <1325801399-24880-2-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/18521/
State New, archived
Headers show

Comments

Khem Raj - Jan. 5, 2012, 10:09 p.m.
correct a typo Mips -> mips

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-core/llvm/llvm.inc                |    4 ++--
 recipes-core/openjdk/openjdk-6-common.inc |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Henning Heinold - Jan. 8, 2012, 4:34 p.m.
On Thu, Jan 05, 2012 at 02:09:59PM -0800, Khem Raj wrote:
> correct a typo Mips -> mips
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes-core/llvm/llvm.inc                |    4 ++--
>  recipes-core/openjdk/openjdk-6-common.inc |    2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc
> index 5cc9957..578cd40 100644
> --- a/recipes-core/llvm/llvm.inc
> +++ b/recipes-core/llvm/llvm.inc
> @@ -203,8 +203,8 @@ def get_llvm_arch(d):
>      arch = "X86"
>    elif arch == "arm":
>      arch = "ARM"
> -  elif arch == "mipsel":
> -    arch = "Mips"
> +  elif arch == "mipsel" or arch == "mips":
> +    arch = "mips"
>    elif arch == "powerpc":
>      arch = "PowerPC"
>    else:
> diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc
> index 461ccd9..bc56105 100644
> --- a/recipes-core/openjdk/openjdk-6-common.inc
> +++ b/recipes-core/openjdk/openjdk-6-common.inc
> @@ -153,7 +153,7 @@ def get_llvm_configure_arch(d):
>      arch = "x86"
>    elif arch == "arm":
>      arch = "arm"
> -  elif arch == "mipsel":
> +  elif arch == "mipsel" or arch == "mips":
>      arch = "mips"
>    elif arch == "powerpc":
>      arch = "powerpc"
> -- 
> 1.7.5.4

Thanks Khem,

it is applied.

Bye Henning

Patch

diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc
index 5cc9957..578cd40 100644
--- a/recipes-core/llvm/llvm.inc
+++ b/recipes-core/llvm/llvm.inc
@@ -203,8 +203,8 @@  def get_llvm_arch(d):
     arch = "X86"
   elif arch == "arm":
     arch = "ARM"
-  elif arch == "mipsel":
-    arch = "Mips"
+  elif arch == "mipsel" or arch == "mips":
+    arch = "mips"
   elif arch == "powerpc":
     arch = "PowerPC"
   else:
diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc
index 461ccd9..bc56105 100644
--- a/recipes-core/openjdk/openjdk-6-common.inc
+++ b/recipes-core/openjdk/openjdk-6-common.inc
@@ -153,7 +153,7 @@  def get_llvm_configure_arch(d):
     arch = "x86"
   elif arch == "arm":
     arch = "arm"
-  elif arch == "mipsel":
+  elif arch == "mipsel" or arch == "mips":
     arch = "mips"
   elif arch == "powerpc":
     arch = "powerpc"