From 9f456db3fdc3bf47a851cabe1208db24173b0fe8 Mon Sep 17 00:00:00 2001
From: Hamish Guthrie <hcg@openwrt.org>
Date: Mon, 16 Mar 2009 15:25:55 +0000
Subject: [PATCH] Added defaults for extra target architecture for ps3

SVN-Revision: 14897
---
 toolchain/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 479e6dcaf7..0f67fc0944 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -13,6 +13,7 @@ menuconfig TOOLCHAINOPTS
 menuconfig EXTRA_TARGET_ARCH
 	bool
 	prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS
+	default y	if TARGET_ps3
 	default n
 	help
 	  Some builds may require a 'biarch' toolchain. This option
@@ -22,6 +23,7 @@ menuconfig EXTRA_TARGET_ARCH
 
 	config EXTRA_TARGET_ARCH_NAME
 		string
+		default "powerpc64"	if TARGET_ps3
 		prompt "Extra architecture name" if EXTRA_TARGET_ARCH
 		help
 		  Specify the cpu name (eg powerpc64 or x86_64) of the
@@ -29,6 +31,7 @@ menuconfig EXTRA_TARGET_ARCH
 
 	config EXTRA_TARGET_ARCH_OPTS
 		string
+		default "-m64"		if TARGET_ps3
 		prompt "Extra architecture compiler options" if EXTRA_TARGET_ARCH
 		help
 		  If you're specifying an addition target architecture,
-- 
GitLab