aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-08-18 23:07:45 +0000
committerGeoff Levand <geoffrey.levand@am.sony.com>2009-08-18 23:07:45 +0000
commit75816814668ff6f42b7d540c0f954030cf482861 (patch)
tree522b2f8eaabc526eacdffbe5c4dea2be01745730 /toolchain
parent8ee102eea1f917809bd0d180d8241511e031d922 (diff)
downloadupstream-75816814668ff6f42b7d540c0f954030cf482861.tar.gz
upstream-75816814668ff6f42b7d540c0f954030cf482861.tar.bz2
upstream-75816814668ff6f42b7d540c0f954030cf482861.zip
powerpc: Create a powerpc64 config feature
The config symbol TARGET_ps3 is used in the build files where special handling for the 64 bit PowerPC processors is needed. Introduce a new config feature powerpc64, and replace the use of TARGET_ps3 with powerpc64. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> SVN-Revision: 17306
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in6
-rw-r--r--toolchain/gcc/Config.in2
-rw-r--r--toolchain/gcc/Config.version2
3 files changed, 5 insertions, 5 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 6fc7b6fcec..f01b6c23b2 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -13,7 +13,7 @@ menuconfig TOOLCHAINOPTS
menuconfig EXTRA_TARGET_ARCH
bool
prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS
- default y if TARGET_ps3 || TARGET_pxcab
+ default y if powerpc64 || TARGET_pxcab
default n
help
Some builds may require a 'biarch' toolchain. This option
@@ -23,7 +23,7 @@ menuconfig EXTRA_TARGET_ARCH
config EXTRA_TARGET_ARCH_NAME
string
- default "powerpc64" if TARGET_ps3 || TARGET_pxcab
+ default "powerpc64" if powerpc64 || TARGET_pxcab
prompt "Extra architecture name" if EXTRA_TARGET_ARCH
help
Specify the cpu name (eg powerpc64 or x86_64) of the
@@ -31,7 +31,7 @@ menuconfig EXTRA_TARGET_ARCH
config EXTRA_TARGET_ARCH_OPTS
string
- default "-m64" if TARGET_ps3 || TARGET_pxcab
+ default "-m64" if powerpc64 || TARGET_pxcab
prompt "Extra architecture compiler options" if EXTRA_TARGET_ARCH
help
If you're specifying an addition target architecture,
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 41943c8cc8..6cbf2cdb63 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -6,7 +6,7 @@ choice
default GCC_VERSION_4_2_4 if TARGET_avr32
default GCC_VERSION_4_2_4 if TARGET_ppc40x
default GCC_VERSION_4_2_4 if TARGET_ppc44x
- default GCC_VERSION_4_3_3 if TARGET_ps3_petitboot
+ default GCC_VERSION_4_3_3 if powerpc64
default GCC_VERSION_4_3_3 if TARGET_pxcab
default GCC_VERSION_4_3_3 if TARGET_etrax
default GCC_VERSION_4_3_3 if TARGET_coldfire
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 53688c217a..5a0f668870 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -52,7 +52,7 @@ if !TOOLCHAINOPTS
default y if TARGET_ppc44x
config GCC_VERSION_4_3_3
- default y if TARGET_ps3_petitboot
+ default y if powerpc64
default y if TARGET_pxcab
default y if TARGET_etrax
default y if TARGET_coldfire