From: hcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 16 Mar 2009 15:25:55 +0000 (+0000)
Subject: Added defaults for extra target architecture for ps3
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a9f8a6d57767cb2ce095ea260a490bf595bc7a75

Added defaults for extra target architecture for ps3


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14897 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 479e6dcaf..0f67fc094 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,