summaryrefslogtreecommitdiff
path: root/config/libc/uClibc.in
blob: 24ab3d9a9a375bbb5f92692d45dcf3ca4020ee80 (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
# uClibc options
# depends on ! MINGW32 && ! BARE_METAL

config LIBC_uClibc
    select LIBC_SUPPORT_LINUXTHREADS
    help
      The de-facto standard for embeded linux systems.
      Highly configurable, thus as feature-rich as you need, without
      compromising for size.

choice
    bool
    prompt "uClibc version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW

config LIBC_UCLIBC_V_0_9_31
    bool
    prompt "0.9.31 (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    select LIBC_UCLIBC_0_9_30_or_later

config LIBC_UCLIBC_V_0_9_30_3
    bool
    prompt "0.9.30.3"
    select LIBC_UCLIBC_0_9_30_or_later

config LIBC_UCLIBC_V_0_9_30_2
    bool
    prompt "0.9.30.2"
    select LIBC_UCLIBC_0_9_30_or_later

config LIBC_V_0_9_30_1
    bool
    prompt "0.9.30.1"
    select LIBC_UCLIBC_0_9_30_or_later

config LIBC_V_0_9_30
    bool
    prompt "0.9.30"
    select LIBC_UCLIBC_0_9_30_or_later

config LIBC_V_0_9_29
    bool
    prompt "0.9.29 (OBSOLETE)"
    depends on OBSOLETE

config LIBC_V_0_9_28_3
    bool
    prompt "0.9.28.3 (OBSOLETE)"
    depends on OBSOLETE

# As of today (20100702) we can be pretty sure that every
# snapshots made since a month ago are post -0.9.30.

config LIBC_V_snapshot
    bool
    prompt "latest snapshot (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    select LIBC_SUPPORT_NPTL
    select LIBC_UCLIBC_0_9_30_or_later

config LIBC_V_specific_date
    bool
    prompt "<specific date> (EXPERIMENTAL)"
    depends on EXPERIMENTAL
    select LIBC_SUPPORT_NPTL
    select LIBC_UCLIBC_0_9_30_or_later

endchoice

config LIBC_VERSION
    string
    prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
    default "0.9.31" if LIBC_UCLIBC_V_0_9_31
    default "0.9.30.3" if LIBC_UCLIBC_V_0_9_30_3
    default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
    default "0.9.30.1" if LIBC_V_0_9_30_1
    default "0.9.30" if LIBC_V_0_9_30
    default "0.9.29" if LIBC_V_0_9_29
    default "0.9.28.3" if LIBC_V_0_9_28_3
    default "snapshot" if LIBC_V_snapshot

config LIBC_UCLIBC_0_9_30_or_later
    bool
    default n
    select LIBC_UCLIBC_PARALLEL

config LIBC_UCLIBC_PARALLEL
    bool
    default n

choice
    bool
    prompt "uClibc verbosity:"
    default LIBC_UCLIBC_VERBOSITY_0

config LIBC_UCLIBC_VERBOSITY_0
    bool
    prompt "Quiet build"
    help
      Print terse command indications.

config LIBC_UCLIBC_VERBOSITY_1
    bool
    prompt "Brief build (show defines, ld flags)"
    help
      Print simplified command lines.

config LIBC_UCLIBC_VERBOSITY_2
    bool
    prompt "Very verbose build"
    help
      Print full command lines.

endchoice

config LIBC_UCLIBC_VERBOSITY
    string
    default ""      if LIBC_UCLIBC_VERBOSITY_0
    default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
    default "V=2"   if LIBC_UCLIBC_VERBOSITY_2

choice
    bool
    prompt "Debug level"
    default LIBC_UCLIBC_DEBUG_LEVEL_0

config LIBC_UCLIBC_DEBUG_LEVEL_0
    bool
    prompt "none"

config LIBC_UCLIBC_DEBUG_LEVEL_1
    bool
    prompt "minimal"

config LIBC_UCLIBC_DEBUG_LEVEL_2
    bool
    prompt "all"

endchoice

config LIBC_UCLIBC_DEBUG_LEVEL
    int
    default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
    default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
    default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2

config LIBC_UCLIBC_CONFIG_FILE
    string
    prompt "Configuration file"
    default ""
    help
      Path to the configuration file.
      
      You _must_ provide one (for now).