Patchwork [1/3] qemu.bbclass: Map the qemu binary name for powerpc64

login
register
mail settings
Submitter Khem Raj
Date July 22, 2012, 11:54 p.m.
Message ID <1343001258-19551-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/32815/
State Accepted
Commit b9c7b050eb3e51c98f95feb8cf19f45ff2cc8700
Headers show

Comments

Khem Raj - July 22, 2012, 11:54 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/qemu.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Saul Wold - July 26, 2012, 7:26 p.m.
On 07/22/2012 04:54 PM, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta/classes/qemu.bbclass |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
> index 68896ce..aead8e2 100644
> --- a/meta/classes/qemu.bbclass
> +++ b/meta/classes/qemu.bbclass
> @@ -9,5 +9,7 @@ def qemu_target_binary(data):
>           target_arch = "i386"
>       elif target_arch == "powerpc":
>           target_arch = "ppc"
> +    elif target_arch == "powerpc64":
> +        target_arch = "ppc64"
>
>       return "qemu-" + target_arch
>
Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
index 68896ce..aead8e2 100644
--- a/meta/classes/qemu.bbclass
+++ b/meta/classes/qemu.bbclass
@@ -9,5 +9,7 @@  def qemu_target_binary(data):
         target_arch = "i386"
     elif target_arch == "powerpc":
         target_arch = "ppc"
+    elif target_arch == "powerpc64":
+        target_arch = "ppc64"
 
     return "qemu-" + target_arch