summaryrefslogtreecommitdiff
path: root/config/libc_glibc.in
blob: c0454d2bb43675fbd14d28353aff6e8b7df69dad (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# glibc options

choice
    bool
    prompt "glibc version"

config LIBC_V_1_09_1
    bool
    prompt "1.09.1"
    depends on OBSOLETE

config LIBC_V_2_0_1
    bool
    prompt "2.0.1"
    depends on OBSOLETE

config LIBC_V_2_0_6
    bool
    prompt "2.0.6"
    depends on OBSOLETE

config LIBC_V_2_1_1
    bool
    prompt "2.1.1"
    depends on OBSOLETE

config LIBC_V_2_1_2
    bool
    prompt "2.1.2"
    depends on OBSOLETE

config LIBC_V_2_1_3
    bool
    prompt "2.1.3"
    depends on OBSOLETE

config LIBC_V_2_2
    bool
    prompt "2.2"
    depends on OBSOLETE

config LIBC_V_2_2_1
    bool
    prompt "2.2.1"
    depends on OBSOLETE

config LIBC_V_2_2_2
    bool
    prompt "2.2.2"
    depends on OBSOLETE

config LIBC_V_2_2_3
    bool
    prompt "2.2.3"
    depends on OBSOLETE

config LIBC_V_2_2_4
    bool
    prompt "2.2.4"
    depends on OBSOLETE

config LIBC_V_2_2_5
    bool
    prompt "2.2.5"
    depends on OBSOLETE

config LIBC_V_2_3
    bool
    prompt "2.3"
    depends on OBSOLETE

config LIBC_V_2_3_1
    bool
    prompt "2.3.1"
    depends on OBSOLETE

config LIBC_V_2_3_2
    bool
    prompt "2.3.2"
    depends on OBSOLETE

config LIBC_V_2_3_3
    bool
    prompt "2.3.3"
    depends on OBSOLETE

config LIBC_V_2_3_4
    bool
    prompt "2.3.4"
    depends on OBSOLETE

config LIBC_V_2_3_5
    bool
    prompt "2.3.5"
    depends on OBSOLETE

config LIBC_V_2_3_6
    bool
    prompt "2.3.6"

config LIBC_V_2_4
    bool
    prompt "2.4"

config LIBC_V_2_5
    bool
    prompt "2.5"

# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
endchoice

config LIBC_VERSION
    string
    default "1.09.1" if LIBC_V_1_09_1
    default "2.0.1" if LIBC_V_2_0_1
    default "2.0.6" if LIBC_V_2_0_6
    default "2.1.1" if LIBC_V_2_1_1
    default "2.1.2" if LIBC_V_2_1_2
    default "2.1.3" if LIBC_V_2_1_3
    default "2.2" if LIBC_V_2_2
    default "2.2.1" if LIBC_V_2_2_1
    default "2.2.2" if LIBC_V_2_2_2
    default "2.2.3" if LIBC_V_2_2_3
    default "2.2.4" if LIBC_V_2_2_4
    default "2.2.5" if LIBC_V_2_2_5
    default "2.3" if LIBC_V_2_3
    default "2.3.1" if LIBC_V_2_3_1
    default "2.3.2" if LIBC_V_2_3_2
    default "2.3.3" if LIBC_V_2_3_3
    default "2.3.4" if LIBC_V_2_3_4
    default "2.3.5" if LIBC_V_2_3_5
    default "2.3.6" if LIBC_V_2_3_6
    default "2.4" if LIBC_V_2_4
    default "2.5" if LIBC_V_2_5
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove above line!

config LIBC_GLIBC_EXTRA_CONFIG
    string
    prompt "glibc extra config"
    default ""
    help
      Extra flags to pass onto ./configure when configuring glibc.

      Eg.: --enable-static-nss

config LIBC_GLIBC_EXTRA_CFLAGS
    string
    prompt "glibc extra target CFLAGS"
    default ""
    help
      Extra target CFLAGS to use when building glibc.

config LIBC_EXTRA_CC_ARGS
    string
    prompt "gcc extra flags"
    default ""
    help
      Extra flags to pass gcc when building glibc.

      Seldom used, except for sparc64 which seems to need the flag -64
      to be passed onto gcc.

# Please note: This is not used for now (no sh support).
config LIBC_GLIBC_CONFIGPARMS
    string
    prompt "Extra config params (READ HELP)"
    default "" if ARCH != "sh3" && ARCH != "sh4"
    default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
    help
      Some architectures need to set options in the file configparms.
      This is the case for sh3/4, which really need to set configparms as of
      gcc-3.4/glibc-2.3.2.

      Unless you are building a toolchain for sh3/4, you should leave that empty.

      Note: this is awkward, doesn't work well if you need more than one
            line in configparms

config LIBC_GLIBC_USE_PORTS
    bool
    prompt "Use the ports addon"
    default n
    help
      The ports addon contains some architecture ports that are not available
      in the official glibc distribution.
      
      For example, this is the case for ARM with glibc >= 2.4
      
      Say n only if you're sure that your architecture is in the official
      glibc distribution for your chosen version.

config LIBC_ADDONS
    bool
    prompt "Pass extra addons list"
    default n
    help
      If you say Y here, you'll be able to give the list of addons you want to
      include in your C library.

config LIBC_ADDONS_LIST
    string
    prompt "Extra addons"
    default ""
    depends on LIBC_ADDONS
    help
      Extra addons to include in glibc.
      
      Eg.: crypt        (for very old glibces)
           linuxthreads (for the linuxthreads implementation of threads)