summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/newlib.in41
-rw-r--r--config/libc/none.in14
2 files changed, 45 insertions, 10 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index e952278..446cb4d 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -1,14 +1,14 @@
# newlib options
-# depends on EXPERIMENTAL
+# depends on EXPERIMENTAL && BARE_METAL
config LIBC_newlib
help
- Newlib is a C library intended for use on embedded systems. It is a
- conglomeration of several library parts, all under free software
- licenses that make them easily usable on embedded products. Newlib
- is only available in source form. It can be compiled for a wide
- array of processors, and will usually work on any architecture with
- the addition of a few low-level routines.
+ Newlib is a C library intended for use on embedded systems. It is a
+ conglomeration of several library parts, all under free software
+ licenses that make them easily usable on embedded products. Newlib
+ is only available in source form. It can be compiled for a wide
+ array of processors, and will usually work on any architecture with
+ the addition of a few low-level routines.
choice
bool
@@ -16,25 +16,46 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
-config NEWLIB_V_1_17_0
+config LIBC_NEWLIB_V_1_17_0
bool
prompt "1.17.0"
+config LIBC_NEWLIB_CVS
+ bool
+ prompt "Use CVS snapshot"
+ help
+ The newlib "team" rolls new releases about once a year (december).
+ This is quite a long time between releases, in case code was fixed.
+
+ Saying 'Y' here will allow you to use the bleeding-edge code from
+ the CVS repository. This may or may not fix your issues, may or may
+ not build, may or may not crash your machine, may or may not withdraw
+ money from your bank account, may or may not date your girlfriend,
+ may or may not resurect Elvis... :-)
+
+ In a word: use the CVS snapshot at your own risk!
+
endchoice
config LIBC_VERSION
string
+ prompt "use CVS tag" if LIBC_NEWLIB_CVS
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
- default "1.17.0" if NEWLIB_V_1_17_0
+ default "1.17.0" if LIBC_NEWLIB_V_1_17_0
+ help
+ Enter the tag you want to use.
+ Leave empty to use the 'head' of the repository.
+
+comment "Architecture specific options"
config ATMEL_AVR32_HEADERS
bool
prompt "Install Atmel AVR32 headers"
+ depends on ARCH_avr32
default y
help
Install Atmel AVR32 headers for native AVR32 development. Most
AVR32 MCU devices are supported.
If you do native AVR32 development you want to say 'Y' here.
-
diff --git a/config/libc/none.in b/config/libc/none.in
new file mode 100644
index 0000000..9507007
--- /dev/null
+++ b/config/libc/none.in
@@ -0,0 +1,14 @@
+# Dummy config file to not use a C library *at all*
+# depends on BARE_METAL
+
+config LIBC_none
+ help
+ Do not use a C library.
+
+ This is usefull if your project is self-contained, does not rely on
+ an external C library, and provides all the necessary bits.
+
+ Most probably usefull to bootloaders, as they generally don't depend
+ on the C library.
+
+ If unsure: do *not* choose that, and use another option in the choice.