scripts/build/internals.sh: compile wrapper with portable options.
static linking is not possible on MacOS, and unnessecary on other systems.
The old optimization and warning flags crash the gcc on MacOS
and (imho) are a bit overdone for this software.
2 # depends on ! BARE_METAL
5 select LIBC_SUPPORT_LINUXTHREADS
7 The de-facto standard for embeded linux systems.
8 Highly configurable, thus as feature-rich as you need, without
13 prompt "uClibc version"
14 # Don't remove next line
15 # CT_INSERT_VERSION_BELOW
17 config LIBC_UCLIBC_V_0_9_31
19 prompt "0.9.31 (EXPERIMENTAL)"
20 depends on EXPERIMENTAL
21 select LIBC_UCLIBC_0_9_30_or_later
23 config LIBC_UCLIBC_V_0_9_30_2
26 select LIBC_UCLIBC_0_9_30_or_later
28 config LIBC_V_0_9_30_1
31 select LIBC_UCLIBC_0_9_30_or_later
36 select LIBC_UCLIBC_0_9_30_or_later
40 prompt "0.9.29 (OBSOLETE)"
43 config LIBC_V_0_9_28_3
45 prompt "0.9.28.3 (OBSOLETE)"
48 config LIBC_V_snapshot
50 prompt "latest snapshot (EXPERIMENTAL)"
51 depends on EXPERIMENTAL
53 config LIBC_V_specific_date
55 prompt "<specific date> (EXPERIMENTAL)"
56 depends on EXPERIMENTAL
62 prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
63 # Don't remove next line
64 # CT_INSERT_VERSION_STRING_BELOW
65 default "0.9.31" if LIBC_UCLIBC_V_0_9_31
66 default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
67 default "0.9.30.1" if LIBC_V_0_9_30_1
68 default "0.9.30" if LIBC_V_0_9_30
69 default "0.9.29" if LIBC_V_0_9_29
70 default "0.9.28.3" if LIBC_V_0_9_28_3
71 default "snapshot" if LIBC_V_snapshot
73 config LIBC_UCLIBC_0_9_30_or_later
76 select LIBC_UCLIBC_PARALLEL
78 config LIBC_UCLIBC_PARALLEL
84 prompt "uClibc verbosity:"
85 default LIBC_UCLIBC_VERBOSITY_0
87 config LIBC_UCLIBC_VERBOSITY_0
91 Print simplified command lines.
93 config LIBC_UCLIBC_VERBOSITY_1
95 prompt "Full commands"
97 Print full command lines.
101 config LIBC_UCLIBC_VERBOSITY
103 default "" if LIBC_UCLIBC_VERBOSITY_0
104 default "V=1" if LIBC_UCLIBC_VERBOSITY_1
109 default LIBC_UCLIBC_DEBUG_LEVEL_0
111 config LIBC_UCLIBC_DEBUG_LEVEL_0
115 config LIBC_UCLIBC_DEBUG_LEVEL_1
119 config LIBC_UCLIBC_DEBUG_LEVEL_2
125 config LIBC_UCLIBC_DEBUG_LEVEL
127 default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
128 default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
129 default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
131 config LIBC_UCLIBC_BUILD_CROSS_LDD
133 prompt "Build cross-ldd"
136 Say 'y' here to build a cross-ldd to run in the host.
138 Building a cross-ldd only works on ELF systems, that is,
139 if you build under Cygwin, you *must* say 'n' here.
141 config LIBC_UCLIBC_CONFIG_FILE
143 prompt "Configuration file"
146 Path to the configuration file.
148 You _must_ provide one (for now).
150 config LIBC_UCLIBC_LOCALES
152 select LIBC_UCLIBC_WCHAR
153 prompt "Add support for locales"
156 Say y if you want uClibc to support localisation.
158 Note that seems to be broken on recent uClibc releases.
160 config LIBC_UCLIBC_WCHAR
162 prompt "Add support for WCHAR"
165 Say y if you want uClibc to support WCHAR.
167 Maybe this is needed, if you're building a C++-Compiler