Patchwork [meta-java,V2,1/3] llvm: Accept ppc64

login
register
mail settings
Submitter Khem Raj
Date July 31, 2012, 7:03 p.m.
Message ID <1343761391-3440-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/33461/
State Accepted
Headers show

Comments

Khem Raj - July 31, 2012, 7:03 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-core/llvm/llvm.inc                |    2 +-
 recipes-core/openjdk/openjdk-6-common.inc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Henning Heinold - Aug. 17, 2012, 7:47 a.m.
On Tue, Jul 31, 2012 at 12:03:09PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes-core/llvm/llvm.inc                |    2 +-
>  recipes-core/openjdk/openjdk-6-common.inc |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc
> index c1f7f45..0718a12 100644
> --- a/recipes-core/llvm/llvm.inc
> +++ b/recipes-core/llvm/llvm.inc
> @@ -203,7 +203,7 @@ def get_llvm_arch(d):
>          arch = "ARM"
>      elif arch == "mipsel" or arch == "mips":
>          arch = "mips"
> -    elif arch == "powerpc":
> +    elif arch == "powerpc" or arch == "powerpc64":
>          arch = "PowerPC"
>      else:
>          bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) );
> diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc
> index 02a4cb7..c7693fe 100644
> --- a/recipes-core/openjdk/openjdk-6-common.inc
> +++ b/recipes-core/openjdk/openjdk-6-common.inc
> @@ -151,7 +151,7 @@ def get_llvm_configure_arch(d):
>          arch = "arm"
>      elif arch == "mipsel" or arch == "mips":
>          arch = "mips"
> -    elif arch == "powerpc":
> +    elif arch == "powerpc" or arch == "powerpc64":
>          arch = "powerpc"
>      else:
>          bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) );
> -- 

Patch is applied to master, thanks and do not forget to update patch-work.

Bye Henning

Patch

diff --git a/recipes-core/llvm/llvm.inc b/recipes-core/llvm/llvm.inc
index c1f7f45..0718a12 100644
--- a/recipes-core/llvm/llvm.inc
+++ b/recipes-core/llvm/llvm.inc
@@ -203,7 +203,7 @@  def get_llvm_arch(d):
         arch = "ARM"
     elif arch == "mipsel" or arch == "mips":
         arch = "mips"
-    elif arch == "powerpc":
+    elif arch == "powerpc" or arch == "powerpc64":
         arch = "PowerPC"
     else:
         bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) );
diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc
index 02a4cb7..c7693fe 100644
--- a/recipes-core/openjdk/openjdk-6-common.inc
+++ b/recipes-core/openjdk/openjdk-6-common.inc
@@ -151,7 +151,7 @@  def get_llvm_configure_arch(d):
         arch = "arm"
     elif arch == "mipsel" or arch == "mips":
         arch = "mips"
-    elif arch == "powerpc":
+    elif arch == "powerpc" or arch == "powerpc64":
         arch = "powerpc"
     else:
         bb.error("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) );