summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.mips
blob: 76b10c662b790f68b37b104f5186e549b75811ff (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#
# For a description of the syntax of this configuration file,
# see extra/config/Kconfig-language.txt
#

config TARGET_ARCH
	string
	default "mips"

config FORCE_OPTIONS_FOR_ARCH
	bool
	default y
	select ARCH_ANY_ENDIAN
	select ARCH_HAS_UCONTEXT
	select ARCH_HAS_DEPRECATED_SYSCALLS

choice
	prompt "Target ABI"
	default CONFIG_MIPS_O32_ABI
	help
	  This is the ABI you wish to build use.  Choose either O32, N32
	  or N64.

config CONFIG_MIPS_O32_ABI
	bool "O32 ABI"

config CONFIG_MIPS_N32_ABI
	bool "N32 ABI"

config CONFIG_MIPS_N64_ABI
	bool "N64 ABI"

endchoice

choice
	prompt "Target NAN Encoding"
	default CONFIG_MIPS_NAN_LEGACY
	help
	  This is the NAN Encoding you want to use.  Chose either Legacy
	  or 2008.

config CONFIG_MIPS_NAN_LEGACY
	bool "LEGACY"

config CONFIG_MIPS_NAN_2008
	bool "2008"

endchoice

choice
	prompt "Target Processor Architecture"
	default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI
	default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI
	default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N64_ABI
	help
	  This selects the instruction set architecture of your MIPS CPU. This
	  information is used for optimizing purposes. To build a library that
	  will run on any MIPS CPU, you can specify "Generic (MIPS I)" here.
	  If you pick anything other than "Generic (MIPS I)," there is no
	  guarantee that uClibc will even run on anything other than the
	  selected processor type.

	  You should probably select the MIPS ISA that best matches the
	  CPU you will be using on your device. uClibc will be tuned
	  for that architecture.

	  If you don't know what to do, choose "Generic (MIPS I)"

config CONFIG_MIPS_ISA_1
	bool "Generic (MIPS I)"

config CONFIG_MIPS_ISA_2
	bool "MIPS II"

config CONFIG_MIPS_ISA_3
	bool "MIPS III"

config CONFIG_MIPS_ISA_4
	bool "MIPS IV"

config CONFIG_MIPS_ISA_MIPS32
	bool "MIPS32"

config CONFIG_MIPS_ISA_MIPS32R2
	bool "MIPS32r2"

config CONFIG_MIPS_ISA_MIPS64
	bool "MIPS64"

config CONFIG_MIPS_ISA_MIPS64R2
	bool "MIPS64r2"

endchoice