| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see extra/config/Kconfig-language.txt |
| 4 | # |
| 5 | |
| 6 | config TARGET_ARCH |
| 7 | string |
| 8 | default "mips" |
| 9 | |
| 10 | config FORCE_OPTIONS_FOR_ARCH |
| 11 | bool |
| 12 | default y |
| 13 | select ARCH_ANY_ENDIAN |
| 14 | |
| 15 | choice |
| 16 | prompt "Target ABI" |
| 17 | default CONFIG_MIPS_O32_ABI |
| 18 | help |
| 19 | This is the ABI you wish to build use. Choose either O32, N32 |
| 20 | or N64. |
| 21 | |
| 22 | config CONFIG_MIPS_O32_ABI |
| 23 | bool "O32 ABI" |
| 24 | |
| 25 | config CONFIG_MIPS_N32_ABI |
| 26 | bool "N32 ABI" |
| 27 | |
| 28 | config CONFIG_MIPS_N64_ABI |
| 29 | bool "N64 ABI" |
| 30 | |
| 31 | endchoice |
| 32 | |
| 33 | choice |
| 34 | prompt "Target Processor Architecture" |
| 35 | default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI |
| 36 | default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI |
| 37 | default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N64_ABI |
| 38 | help |
| 39 | This selects the instruction set architecture of your MIPS CPU. This |
| 40 | information is used for optimizing purposes. To build a library that |
| 41 | will run on any MIPS CPU, you can specify "Generic (MIPS I)" here. |
| 42 | If you pick anything other than "Generic (MIPS I)," there is no |
| 43 | guarantee that uClibc will even run on anything other than the |
| 44 | selected processor type. |
| 45 | |
| 46 | You should probably select the MIPS ISA that best matches the |
| 47 | CPU you will be using on your device. uClibc will be tuned |
| 48 | for that architecture. |
| 49 | |
| 50 | If you don't know what to do, choose "Generic (MIPS I)" |
| 51 | |
| 52 | config CONFIG_MIPS_ISA_1 |
| 53 | bool "Generic (MIPS I)" |
| 54 | |
| 55 | config CONFIG_MIPS_ISA_2 |
| 56 | bool "MIPS II" |
| 57 | |
| 58 | config CONFIG_MIPS_ISA_3 |
| 59 | bool "MIPS III" |
| 60 | |
| 61 | config CONFIG_MIPS_ISA_4 |
| 62 | bool "MIPS IV" |
| 63 | |
| 64 | config CONFIG_MIPS_ISA_MIPS32 |
| 65 | bool "MIPS32" |
| 66 | |
| 67 | config CONFIG_MIPS_ISA_MIPS32R2 |
| 68 | bool "MIPS32r2" |
| 69 | |
| 70 | config CONFIG_MIPS_ISA_MIPS64 |
| 71 | bool "MIPS64" |
| 72 | |
| 73 | endchoice |