blob: 063b07cea047e96da439f66ff63ac16a744f6a35 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
2# For a description of the syntax of this configuration file,
3# see extra/config/Kconfig-language.txt
4#
5
6config TARGET_ARCH
7 string
8 default "mips"
9
10config FORCE_OPTIONS_FOR_ARCH
11 bool
12 default y
13 select ARCH_ANY_ENDIAN
14
15choice
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
22config CONFIG_MIPS_O32_ABI
23 bool "O32 ABI"
24
25config CONFIG_MIPS_N32_ABI
26 bool "N32 ABI"
27
28config CONFIG_MIPS_N64_ABI
29 bool "N64 ABI"
30
31endchoice
32
33choice
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
52config CONFIG_MIPS_ISA_1
53 bool "Generic (MIPS I)"
54
55config CONFIG_MIPS_ISA_2
56 bool "MIPS II"
57
58config CONFIG_MIPS_ISA_3
59 bool "MIPS III"
60
61config CONFIG_MIPS_ISA_4
62 bool "MIPS IV"
63
64config CONFIG_MIPS_ISA_MIPS32
65 bool "MIPS32"
66
67config CONFIG_MIPS_ISA_MIPS32R2
68 bool "MIPS32r2"
69
70config CONFIG_MIPS_ISA_MIPS64
71 bool "MIPS64"
72
73endchoice