summaryrefslogtreecommitdiff
path: root/config/arch/mips.in
blob: ad8b1c649e68bfbb2d6eedead69bab807c4ba5ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# MIPS specific config options

## no-package
## select ARCH_SUPPORTS_32
## select ARCH_SUPPORTS_64
## select ARCH_DEFAULT_32
## select ARCH_USE_MMU
## select ARCH_SUPPORTS_EITHER_ENDIAN
## select ARCH_DEFAULT_BE
## select ARCH_SUPPORTS_WITH_ARCH
## select ARCH_SUPPORTS_WITH_TUNE
## select ARCH_SUPPORTS_WITH_FLOAT

## help The MIPS architecture, as defined by:
## help     http://www.mips.com/

choice
    bool
    prompt "ABI"

config ARCH_mips_o32
    bool
    prompt "o32"
    depends on (ARCH_32 || MULTILIB)
    help
      This is the -mabi=32 gcc option.

config ARCH_mips_n32
    bool
    prompt "n32"
    depends on ARCH_64
    help
      This is the -mabi=n32 gcc option.

config ARCH_mips_n64
    bool
    prompt "n64"
    depends on ARCH_64
    help
      This is the -mabi=64 gcc option.

# Not supported on Linux:
# o64   : seems related to *BSD
# eabi  : seems related to bare-metal

endchoice

config ARCH_mips_ABI
    string
    default "32"    if ARCH_mips_o32
    default "n32"   if ARCH_mips_n32
    default "64"    if ARCH_mips_n64