stlink: add hosttool for stm32 flashing
[openadk.git] / target / config / Config.in.tools
blob074989fc98e824f4dd57f7fcf4d8b4fafec0985f
1 # always required from OpenADK
2 config ADK_HOST_BUILD_ADK_HELPER
3         bool
4         default y
6 config ADK_HOST_BUILD_ELFTOAOUT
7         bool
8         default y if ADK_TARGET_ARCH_SPARC
10 config ADK_HOST_BUILD_AUTOCONF
11         bool
12         default y
14 config ADK_HOST_BUILD_AUTOMAKE
15         bool
16         default y
18 config ADK_HOST_BUILD_BISON
19         bool
20         default y
22 config ADK_HOST_BUILD_DTC
23         bool
24         default n
26 config ADK_HOST_BUILD_FAKEROOT
27         bool
28         default n
30 config ADK_HOST_BUILD_FLEX
31         bool
32         default y
34 config ADK_HOST_BUILD_M4
35         bool
36         default y
38 config ADK_HOST_BUILD_LIBTOOL
39         bool
40         default y
42 config ADK_HOST_BUILD_LIBRESSL
43         bool
44         default n
46 config ADK_HOST_BUILD_PKGCONF
47         bool
48         default y
50 config ADK_HOST_BUILD_WGET
51         bool
52         default n
54 # always required, but can be provided by host
55 config ADK_HOST_BUILD_BASH
56         bool
57         default n
59 config ADK_HOST_BUILD_BC
60         bool
61         select ADK_HOST_BUILD_FLEX
62         default n
64 config ADK_HOST_BUILD_BZIP2
65         bool
66         default n
68 config ADK_HOST_BUILD_CMAKE
69         bool
70         default y if ADK_BUILD_COMPILER_LLVM
71         default n
73 config ADK_HOST_BUILD_CPIO
74         bool
75         default n
77 config ADK_HOST_BUILD_FILE
78         bool
79         default n
81 config ADK_HOST_BUILD_FINDUTILS
82         bool
83         default n
85 config ADK_HOST_BUILD_GAWK
86         bool
87         default y if ADK_HOST_DARWIN
88         default n
90 config ADK_HOST_BUILD_OBJCONV
91         bool
92         default y if ADK_HOST_DARWIN
93         default n
95 config ADK_HOST_BUILD_GREP
96         bool
97         default n
99 config ADK_HOST_BUILD_U_BOOT
100         bool
101         depends on !ADK_TARGET_ARCH_H8300
102         default y if ADK_HOST_NEED_UBOOT
103         default n
105 config ADK_HOST_BUILD_U_BOOT_H8300
106         bool
107         depends on ADK_TARGET_ARCH_H8300
108         default y if ADK_HOST_NEED_UBOOT
109         default n
111 config ADK_HOST_BUILD_OPENOCD
112         bool
113         default n
115 config ADK_HOST_BUILD_PATCH
116         bool
117         default n
119 config ADK_HOST_BUILD_SED
120         bool
121         default n
123 config ADK_HOST_BUILD_STLINK
124         bool
125         default n
127 config ADK_HOST_BUILD_TAR
128         bool
129         default n
131 config ADK_HOST_BUILD_XZ
132         bool
133         default n
135 # optional, but can be provided by host
136 config ADK_HOST_BUILD_DOSFSTOOLS
137         bool
138         default n
140 config ADK_HOST_BUILD_E2FSPROGS
141         bool
142         default n
144 config ADK_HOST_BUILD_GPTFDISK
145         bool
146         default n
148 config ADK_HOST_BUILD_MKE2IMG
149         bool
150         default n
152 config ADK_HOST_BUILD_MTOOLS
153         bool
154         default n
156 config ADK_HOST_BUILD_GENIMAGE
157         bool
158         select ADK_HOST_BUILD_MKE2IMG
159         select ADK_HOST_BUILD_MTOOLS
160         select ADK_HOST_BUILD_GENEXT2FS
161         select ADK_HOST_BUILD_GPTFDISK
162         select ADK_HOST_BUILD_E2FSPROGS
163         select ADK_HOST_BUILD_DOSFSTOOLS
164         default n
166 config ADK_HOST_BUILD_CCACHE
167         bool
168         default n
170 config ADK_HOST_NEED_CDRTOOLS
171         bool
172         default n
174 config ADK_HOST_BUILD_CDRTOOLS
175         bool
176         default n
178 config ADK_HOST_NEED_GENEXT2FS
179         bool
180         default n
182 config ADK_HOST_BUILD_GENEXT2FS
183         bool
184         default n
186 config ADK_HOST_NEED_LZ4
187         bool
188         default n
190 config ADK_HOST_BUILD_LZ4
191         bool
192         default n
194 config ADK_HOST_NEED_LZMA
195         bool
196         default n
198 config ADK_HOST_BUILD_LZMA
199         bool
200         default n
202 config ADK_HOST_NEED_LZOP
203         bool
204         default n
206 config ADK_HOST_BUILD_LZIP
207         bool
208         default n
210 config ADK_HOST_BUILD_LZOP
211         bool
212         default n
214 config ADK_HOST_NEED_MKSH
215         bool
216         default n
218 config ADK_HOST_BUILD_MKSH
219         bool
220         default n
222 config ADK_HOST_NEED_QEMU
223         bool
224         default n
226 config ADK_HOST_BUILD_QEMU
227         bool
228         default n
230 config ADK_HOST_BUILD_COREUTILS
231         bool
232         default n
234 config ADK_HOST_BUILD_UTIL_LINUX
235         bool
236         default n
238 # optional, must be used from OpenADK
239 config ADK_HOST_NEED_MTD_UTILS
240         bool
241         default n
243 config ADK_HOST_BUILD_MTD_UTILS
244         bool
245         select ADK_HOST_BUILD_UTIL_LINUX
246         default y if ADK_HOST_NEED_MTD_UTILS
247         default n
249 config ADK_HOST_NEED_KERNEL2MINOR
250         bool
251         default n
253 config ADK_HOST_BUILD_KERNEL2MINOR
254         bool
255         default y if ADK_HOST_NEED_KERNEL2MINOR
256         default n
258 config ADK_HOST_BUILD_PATCHELF
259         bool
260         default n
262 config ADK_HOST_NEED_OPKG
263         bool
264         default n
266 config ADK_HOST_BUILD_OPKG
267         bool
268         default y if ADK_HOST_NEED_OPKG
269         default n
271 config ADK_HOST_NEED_SQUASHFS
272         bool
273         default n
275 config ADK_HOST_BUILD_SQUASHFS
276         bool
277         select ADK_HOST_BUILD_XZ
278         default y if ADK_HOST_NEED_SQUASHFS
279         default n
281 config ADK_HOST_NEED_SYSLINUX
282         bool
283         default n
285 config ADK_HOST_BUILD_SYSLINUX
286         bool
287         default y if ADK_HOST_NEED_SYSLINUX
288         default n
290 config ADK_HOST_BUILD_PCRE
291         bool
292         default y if ADK_HOST_DARWIN
293         default n
295 config ADK_HOST_BUILD_KMOD
296         bool
297         default n
299 config ADK_HOST_NEED_U_BOOT
300         bool
301         default n
303 source "target/config/Config.in.prereq"
305 config ADK_COMPRESSION_TOOL
306         string
307         default "gzip -n9" if ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
308         default "bzip2" if ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
309         default "xz -v --check=crc32 --lzma2=dict=1MiB" if ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
310         default "lz4c -l" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
311         default "lzma -9" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
312         default "lzop" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
313         default "gzip -n9"
314         help