diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-21 20:51:39 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-21 20:51:39 (GMT) |
commit | 68b9b30f6bdcfab194408b06a3fcbc6363fb7ede (patch) | |
tree | 9b285dc55c10bf807eb8e9ac33626c95b8ff8c7b /config/libc | |
parent | f5cfdc13690648af79d48d5be4f851877c353886 (diff) |
libc/newlib: allow using newlib with archs other than avr32
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/newlib.in | 16 | ||||
-rw-r--r-- | config/libc/none.in | 14 |
2 files changed, 22 insertions, 8 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in index ad92112..61803d7 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 @@ -31,10 +31,10 @@ config LIBC_VERSION 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. |