Patchwork [1/5] tune/arch-powerpc64: Fix typo with 64-bit TUNE_CCARGS handling

login
register
mail settings
Submitter Kumar Gala
Date July 28, 2011, 8:59 p.m.
Message ID <1311886748-17637-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/8825/
State New, archived
Headers show

Comments

Kumar Gala - July 28, 2011, 8:59 p.m.
When figuring out how to set TUNE_CCARGS we should look for 'm64' not
'n64' in TUNE_FEATURES.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 .../machine/include/powerpc/arch-powerpc64.inc     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Saul Wold - Aug. 2, 2011, 5:07 p.m.
On 07/28/2011 01:59 PM, Kumar Gala wrote:
> When figuring out how to set TUNE_CCARGS we should look for 'm64' not
> 'n64' in TUNE_FEATURES.
>
> Signed-off-by: Kumar Gala<galak@kernel.crashing.org>
> ---
>   .../machine/include/powerpc/arch-powerpc64.inc     |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/conf/machine/include/powerpc/arch-powerpc64.inc b/meta/conf/machine/include/powerpc/arch-powerpc64.inc
> index a99f18d..e55910c 100644
> --- a/meta/conf/machine/include/powerpc/arch-powerpc64.inc
> +++ b/meta/conf/machine/include/powerpc/arch-powerpc64.inc
> @@ -1,6 +1,6 @@
>   TUNEVALID[m64] = "Power ELF64 standard ABI"
>   TUNE_CONFLICTS[m64] = "m32"
> -TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "n64", "-m64", "", d)}"
> +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m64", "-m64", "", d)}"
>   TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", d)}"
>
>   AVAILTUNES += "powerpc64 powerpc64-nf"

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/conf/machine/include/powerpc/arch-powerpc64.inc b/meta/conf/machine/include/powerpc/arch-powerpc64.inc
index a99f18d..e55910c 100644
--- a/meta/conf/machine/include/powerpc/arch-powerpc64.inc
+++ b/meta/conf/machine/include/powerpc/arch-powerpc64.inc
@@ -1,6 +1,6 @@ 
 TUNEVALID[m64] = "Power ELF64 standard ABI"
 TUNE_CONFLICTS[m64] = "m32"
-TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "n64", "-m64", "", d)}"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m64", "-m64", "", d)}"
 TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", d)}"
 
 AVAILTUNES += "powerpc64 powerpc64-nf"