Skip to contentSkip to conversation

tune/arch-powerpc64: keep insync with arch-powerpc.inc

PATCH In review Kumar Gala 2 participants 5 messages Aug 2, 2011 – Aug 3, 2011

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 tune/arch-powerpc64: keep insync with arch-powerpc.inc

* Add DEFAULTTUNE setting
* Sync TUNE_PKGARCH with:

	commit 20f285728219c1efcc23d8e861902c212893c68d
	Author: Richard Purdie <[email protected]>
	Date:   Tue Aug 2 12:40:06 2011 +0100

	    tune/ppc: Fix various TUNE_PKGARCH issues
---
 .../machine/include/powerpc/arch-powerpc64.inc     |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
meta/conf/machine/include/powerpc/arch-powerpc64.inc +5 -0
index a965d59..daad355 100644
@@ -1,8 +1,13 @@
+DEFAULTTUNE ?= "powerpc64"
+
 TUNEVALID[m64] = "Power ELF64 standard ABI"
 TUNE_CONFLICTS[m64] = "m32 nf"
 TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m64", "-m64", "", d)}"
 TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", d)}"
 
+PPCPKGARCH = "${TUNE_ARCH}"
+TUNE_PKGARCH ?= "${PPCPKGARCH}"
+
 AVAILTUNES += "powerpc64"
 TUNE_FEATURES_tune-powerpc64 ?= "m64 fpu-hard"
 BASE_LIB_tune-powerpc64 = "lib64"
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 7 lines · Kumar Gala

* Add DEFAULTTUNE setting
* Sync TUNE_PKGARCH with:

	commit 20f285728219c1efcc23d8e861902c212893c68d
	Author: Richard Purdie <[email protected]>
	Date:   Tue Aug 2 12:40:06 2011 +0100

	    tune/ppc: Fix various TUNE_PKGARCH issues

Quick question, are all ppc64 cores ppc32 capable or not?

Cheers,

Richard

Quoted 23 lines
---
 .../machine/include/powerpc/arch-powerpc64.inc     |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
meta/conf/machine/include/powerpc/arch-powerpc64.inc +5 -0
index a965d59..daad355 100644
@@ -1,8 +1,13 @@
+DEFAULTTUNE ?= "powerpc64"
+
 TUNEVALID[m64] = "Power ELF64 standard ABI"
 TUNE_CONFLICTS[m64] = "m32 nf"
 TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m64", "-m64", "", d)}"
 TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", d)}"
 
+PPCPKGARCH = "${TUNE_ARCH}"
+TUNE_PKGARCH ?= "${PPCPKGARCH}"
+
 AVAILTUNES += "powerpc64"
 TUNE_FEATURES_tune-powerpc64 ?= "m64 fpu-hard"
 BASE_LIB_tune-powerpc64 = "lib64"
author
#2 lore raw
Quoted 7 lines · Richard Purdie
Quoted 6 lines · Kumar Gala

* Add DEFAULTTUNE setting
* Sync TUNE_PKGARCH with:

	commit 20f285728219c1efcc23d8e861902c212893c68d
	Author: Richard Purdie <[email protected]>
	Date:   Tue Aug 2 12:40:06 2011 +0100
Quoted 7 lines
Quoted 1 line

tune/ppc: Fix various TUNE_PKGARCH issues

Quick question, are all ppc64 cores ppc32 capable or not?

Cheers,

Richard

yes

- k

Quoted 31 lines
Quoted 21 lines

---
.../machine/include/powerpc/arch-powerpc64.inc | 5 +++++

1 files changed, 5 insertions(+), 0 deletions(-)
meta/conf/machine/include/powerpc/arch-powerpc64.inc +2 -0
index a965d59..daad355 100644
@@ -1,8 +1,13 @@
+DEFAULTTUNE ?= "powerpc64"
+

TUNEVALID[m64] = "Power ELF64 standard ABI"
TUNE_CONFLICTS[m64] = "m32 nf"
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m64", "-m64", "", d)}" TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", d)}"

meta/conf/machine/include/powerpc/arch-powerpc64.inc +3 -0
+PPCPKGARCH = "${TUNE_ARCH}"
+TUNE_PKGARCH ?= "${PPCPKGARCH}"
+
Quoted 3 lines

AVAILTUNES += "powerpc64"
TUNE_FEATURES_tune-powerpc64 ?= "m64 fpu-hard"
BASE_LIB_tune-powerpc64 = "lib64"

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 11 lines · Kumar Gala
Quoted 9 lines · Richard Purdie
Quoted 7 lines · Kumar Gala

* Add DEFAULTTUNE setting
* Sync TUNE_PKGARCH with:

	commit 20f285728219c1efcc23d8e861902c212893c68d
	Author: Richard Purdie <[email protected]>
	Date:   Tue Aug 2 12:40:06 2011 +0100

	    tune/ppc: Fix various TUNE_PKGARCH issues
Quoted 7 lines
Quoted 5 lines

Quick question, are all ppc64 cores ppc32 capable or not?

Cheers,

Richard

yes

Should we make the 64 bit include file automatically include the 32 bit one then?

That would take care of the

Quoted 2 lines

meta/conf/machine/include/powerpc/arch-powerpc64.inc line 9

Quoted 2 lines
meta/conf/machine/include/powerpc/arch-powerpc64.inc +2 -0
+PPCPKGARCH = "${TUNE_ARCH}"
+TUNE_PKGARCH ?= "${PPCPKGARCH}"

part but we probably should set the DEFAULTTUNE still...

Cheers,

Richard

author
#4 lore raw
Quoted 23 lines · Richard Purdie
Quoted 11 lines · Kumar Gala
Quoted 9 lines · Richard Purdie
Quoted 7 lines · Kumar Gala

* Add DEFAULTTUNE setting
* Sync TUNE_PKGARCH with:

	commit 20f285728219c1efcc23d8e861902c212893c68d
	Author: Richard Purdie <[email protected]>
	Date:   Tue Aug 2 12:40:06 2011 +0100

	    tune/ppc: Fix various TUNE_PKGARCH issues
Quoted 7 lines
Quoted 5 lines

Quick question, are all ppc64 cores ppc32 capable or not?

Cheers,

Richard

yes

Should we make the 64 bit include file automatically include the 32 bit one then?

Quoted 6 lines

That would take care of the

Quoted 2 lines

meta/conf/machine/include/powerpc/arch-powerpc64.inc line 9

Quoted 2 lines
meta/conf/machine/include/powerpc/arch-powerpc64.inc +2 -0
+PPCPKGARCH = "${TUNE_ARCH}"
+TUNE_PKGARCH ?= "${PPCPKGARCH}"

part but we probably should set the DEFAULTTUNE still...

Not a bad idea, I'll look at doing that.

- k