diff options
Diffstat (limited to 'target/config/Config.in')
-rw-r--r-- | target/config/Config.in | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/target/config/Config.in b/target/config/Config.in index 4b35b7a50..b047742b7 100644 --- a/target/config/Config.in +++ b/target/config/Config.in @@ -97,6 +97,12 @@ config ADK_TARGET_ABI default "n32" if ADK_n32 default "64" if ADK_n64 +config ADK_TARGET_ABI_MIPS_O32 + boolean + select ADK_o32 + depends on !ADK_TARGET_KERNEL64 && ADK_LINUX_MIPS + default y + choice prompt "Target ABI" depends on ADK_TARGET_KERNEL64 && ADK_LINUX_MIPS @@ -461,7 +467,7 @@ config ADK_TARGET_CPU_ARCH config ADK_TARGET_ABI_CFLAGS string - default "-mabi=32" if ADK_TARGET_ABI_O32 + default "-mabi=32" if ADK_TARGET_ABI_O32 || ADK_TARGET_ABI_MIPS_O32 default "-mabi=n32" if ADK_TARGET_ABI_N32 default "-mabi=64" if ADK_TARGET_ABI_N64 default "-m32" if ADK_TARGET_ABI_32 @@ -474,9 +480,10 @@ config ADK_TARGET_ABI_LDFLAGS config ADK_TARGET_KERNEL_LDFLAGS string - default "-mabi=64" if ADK_TARGET_ABI_N32 - default "-mabi=64" if ADK_TARGET_ABI_O32 - default "-mabi=64" if ADK_TARGET_ABI_N64 + default "-mabi=64" if ADK_TARGET_ABI_N32 && ADK_TARGET_KERNEL64 + default "-mabi=64" if ADK_TARGET_ABI_O32 && ADK_TARGET_KERNEL64 + default "-mabi=64" if ADK_TARGET_ABI_N64 && ADK_TARGET_KERNEL64 + default "" config ADK_TARGET_CFLAGS string |