summaryrefslogtreecommitdiff
path: root/config/libc/uClibc.in
blob: 491bcc6a2cba9a02277a14a94c442a7dfe264ac5 (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
# uClibc options

## depends on ! WINDOWS && ! BARE_METAL
##
## select LIBC_SUPPORT_THREADS_LT
## select LIBC_SUPPORT_THREADS_NONE
## select CC_CORE_PASSES_NEEDED
##
## help The de-facto standard for embeded linux systems.
## help
## help Highly configurable, thus as feature-rich as you
## help need, without compromising for size.

config THREADS
    default "nptl"          if THREADS_NATIVE
    default "linuxthreads"  if THREADS_LT

if ARCH_FLOAT_SOFTFP
comment "'softfp' ABI and uClibc is not entirely tested in crosstool-NG"
comment "You may experience issues, although it should work just fine"
endif # ARCH_FLOAT_SOFTFP

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

config LIBC_UCLIBC_NG_V_1_0_9
    bool
    prompt "1.0.8"
    select LIBC_UCLIBC_NG_1_0_9_or_later

config LIBC_UCLIBC_V_0_9_33_2
    bool
    prompt "0.9.33.2"
    select LIBC_UCLIBC_0_9_33_2_or_later

config LIBC_UCLIBC_CUSTOM
    bool
    prompt "Custom uClibc"
    depends on EXPERIMENTAL
    select LIBC_UCLIBC_0_9_33_2_or_later

endchoice

if LIBC_UCLIBC_CUSTOM

config LIBC_UCLIBC_CUSTOM_LOCATION
    string
    prompt "Full path to custom uClibc source"
    default ""
    help
      Enter the path to the directory (or tarball) of your source for uClibc,
      or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/uClibc

endif # LIBC_UCLIBC_CUSTOM

config LIBC_VERSION
    string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
    default "1.0.9" if LIBC_UCLIBC_NG_V_1_0_9
    default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2

config LIBC_UCLIBC_NG_1_0_9_or_later
    bool
    select LIBC_UCLIBC_NG_1_0_0_or_later

config LIBC_UCLIBC_NG_1_0_0_or_later
    bool
    select LIBC_UCLIBC_NG
    select LIBC_UCLIBC_0_9_33_2_or_later

config LIBC_UCLIBC_0_9_33_2_or_later
    bool
    select LIBC_SUPPORT_THREADS_NATIVE
    select LIBC_UCLIBC_PARALLEL

config LIBC_UCLIBC_PARALLEL
    bool

config LIBC_UCLIBC_NG
    bool

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 "normal"

config LIBC_UCLIBC_DEBUG_LEVEL_3
    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.

      If the file is not provided, we fall back to a default config file.