libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.
Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d02252752d4dc5e68ae3.1349931202@localhost.localdomain>
PatchWork-Id: 190795
3 ## depends on BARE_METAL
5 ## select LIBC_SUPPORT_THREADS_NONE
7 ## help Newlib is a C library intended for use on embedded systems. It is a
8 ## help conglomeration of several library parts, all under free software
9 ## help licenses that make them easily usable on embedded products. Newlib
10 ## help is only available in source form. It can be compiled for a wide
11 ## help array of processors, and will usually work on any architecture with
12 ## help the addition of a few low-level routines.
16 prompt "newlib version"
17 # Don't remove next line
18 # CT_INSERT_VERSION_BELOW
20 config LIBC_NEWLIB_V_1_20_0
22 prompt "1.20.0 (EXPERIMENTAL)"
23 depends on EXPERIMENTAL
25 config LIBC_NEWLIB_V_1_19_0
27 prompt "1.19.0 (EXPERIMENTAL)"
28 depends on EXPERIMENTAL
30 config LIBC_NEWLIB_V_1_18_0
32 prompt "1.18.0 (EXPERIMENTAL)"
33 depends on EXPERIMENTAL
35 config LIBC_NEWLIB_V_1_17_0
39 config LIBC_NEWLIB_CVS
41 prompt "Use CVS snapshot"
42 depends on CONFIGURE_has_cvs
44 The newlib "team" rolls new releases about once a year (december).
45 This is quite a long time between releases, in case code was fixed.
47 Saying 'Y' here will allow you to use the bleeding-edge code from
48 the CVS repository. This may or may not fix your issues, may or may
49 not build, may or may not crash your machine, may or may not withdraw
50 money from your bank account, may or may not date your girlfriend,
51 may or may not resurect Elvis... :-)
53 In a word: use the CVS snapshot at your own risk!
55 config LIBC_NEWLIB_CUSTOM
57 prompt "Custom newlib"
58 depends on EXPERIMENTAL
64 config LIBC_NEWLIB_CUSTOM_LOCATION
66 prompt "Full path to custom newlib source"
69 Enter the path to the directory (or tarball) of your source for newlib,
70 or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/newlib
72 endif # LIBC_NEWLIB_CUSTOM
76 prompt "use CVS tag" if LIBC_NEWLIB_CVS
77 # Don't remove next line
78 # CT_INSERT_VERSION_STRING_BELOW
79 default "1.20.0" if LIBC_NEWLIB_V_1_20_0
80 default "1.19.0" if LIBC_NEWLIB_V_1_19_0
81 default "1.18.0" if LIBC_NEWLIB_V_1_18_0
82 default "1.17.0" if LIBC_NEWLIB_V_1_17_0
83 default "custom" if LIBC_NEWLIB_CUSTOM
85 Enter the tag you want to use.
86 Leave empty to use the 'head' of the repository.
88 comment "Architecture specific options"
90 config ATMEL_AVR32_HEADERS
92 prompt "Install Atmel AVR32 headers"
96 Install Atmel AVR32 headers for native AVR32 development. Most
97 AVR32 MCU devices are supported.
99 If you do native AVR32 development you want to say 'Y' here.