aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2009-08-18 23:07:45 +0000
committerGeoff Levand <geoff@infradead.org>2009-08-18 23:07:45 +0000
commit0963266b1df7bb99ae6509ae06812ff37d7c9b73 (patch)
treea7452ede30209311ebcaba60484b53ae9543f486 /toolchain
parentdd85c49093022c7295ed47a8575aeee4008421ba (diff)
downloadupstream-0963266b1df7bb99ae6509ae06812ff37d7c9b73.tar.gz
upstream-0963266b1df7bb99ae6509ae06812ff37d7c9b73.tar.bz2
upstream-0963266b1df7bb99ae6509ae06812ff37d7c9b73.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17306 3c298f89-4303-0410-b956-a3cf2f4a3e73
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