summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorgeoff <geoff@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-18 23:07:45 +0000
committergeoff <geoff@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-18 23:07:45 +0000
commit2b08ef515591897a4a92d8a6ebdd1fff7fc24afd (patch)
treea7452ede30209311ebcaba60484b53ae9543f486 /toolchain
parented808cfc4ed8320ad6f97c29ead0b19fb95ae3a0 (diff)
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 6fc7b6fce..f01b6c23b 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 41943c8cc..6cbf2cdb6 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 53688c217..5a0f66887 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