diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-04-05 12:36:23 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-04-05 12:36:23 +0000 |
commit | a4fbc42a5ab00346505d5e3cde41141da85232d1 (patch) | |
tree | c0d1bb56aebfc49715e3763b24a9f1a736963411 /toolchain/Config.in | |
parent | d32ac499b87e188755b5e3245e1d0bc181e6e6ed (diff) | |
download | upstream-a4fbc42a5ab00346505d5e3cde41141da85232d1.tar.gz upstream-a4fbc42a5ab00346505d5e3cde41141da85232d1.tar.bz2 upstream-a4fbc42a5ab00346505d5e3cde41141da85232d1.zip |
toolchain: allow choosing the MIPS64 user-land ABI
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/Config.in')
-rw-r--r-- | toolchain/Config.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in index 8677b87e7e..e32364095b 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -130,6 +130,25 @@ menuconfig EXTRA_TARGET_ARCH both powerpc and powerpc64 binaries, you'll need to specify -m64 here. + + choice + prompt "MIPS64 user-land ABI" if TOOLCHAINOPTS && (mips64 || mips64el) + default MIPS64_ABI_N64 + help + MIPS64 supports 3 different user-land ABIs: o32 (legacy), + n32 and n64. + + config MIPS64_ABI_N64 + bool "n64" + + config MIPS64_ABI_N32 + bool "n32" + + config MIPS64_ABI_O32 + bool "o32" + + endchoice + comment "Binary tools" depends TOOLCHAINOPTS @@ -218,3 +237,11 @@ config TARGET_SUFFIX default "uclibc" if USE_UCLIBC && !(arm || armeb) default "muslgnueabi" if USE_MUSL && (arm || armeb) default "musl" if USE_MUSL && !(arm || armeb) + +config MIPS64_ABI + depends mips64 || mips64el + string + default "64" if MIPS64_ABI_N64 + default "n32" if MIPS64_ABI_N32 + default "32" if MIPS64_ABI_O32 + default "64" |