1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/config/libc/newlib.in Sun Mar 22 23:33:43 2009 +0000
1.3 @@ -0,0 +1,53 @@
1.4 +# options for newlib
1.5 +# depends on EXPERIMENTAL
1.6 +
1.7 +config LIBC_newlib
1.8 + help
1.9 + A really small C library, primarly used for bare-metal.
1.10 + Also serves as C library for Cygwin.
1.11 +
1.12 +choice
1.13 + bool
1.14 + prompt "newlib version"
1.15 +
1.16 +config LIBC_V_1_14_0
1.17 + bool
1.18 + prompt "1.14.0"
1.19 +
1.20 +config LIBC_V_1_15_0
1.21 + bool
1.22 + prompt "1.15.0"
1.23 +
1.24 +config LIBC_V_1_16_0
1.25 + bool
1.26 + prompt "1.16.0"
1.27 +
1.28 +config LIBC_V_1_17_0
1.29 + bool
1.30 + prompt "1.17.0"
1.31 +
1.32 +# CT_INSERT_VERSION_ABOVE
1.33 +# Don't remove above line!
1.34 +
1.35 +config LIBC_NEWLIB_CVS
1.36 + bool
1.37 + prompt "CVS snapshot"
1.38 +
1.39 +if LIBC_NEWLIB_CVS
1.40 +config LIBC_NEWLIB_CVS_DATE
1.41 + string
1.42 + prompt "checkout as of date"
1.43 + help
1.44 + The date, in ISO-8601 format, at which to check out the repository.
1.45 +endif # LIBC_NEWLIB_CVS
1.46 +
1.47 +endchoice
1.48 +
1.49 +config LIBC_VERSION
1.50 + string
1.51 + default "1.14.0" if LIBC_V_1_14_0
1.52 + default "1.15.0" if LIBC_V_1_15_0
1.53 + default "1.16.0" if LIBC_V_1_16_0
1.54 + default "1.17.0" if LIBC_V_1_17_0
1.55 +# CT_INSERT_VERSION_STRING_ABOVE
1.56 +# Don't remove above line!
2.1 --- a/scripts/addToolVersion.sh Sun Mar 22 23:15:02 2009 +0000
2.2 +++ b/scripts/addToolVersion.sh Sun Mar 22 23:33:43 2009 +0000
2.3 @@ -11,9 +11,9 @@
2.4 cat <<-EOF
2.5 Usage: ${myname} <tool> <[options] version [...]> ...
2.6 'tool' in one of:
2.7 - --gcc, --binutils, --glibc, --eglibc, --uClibc, --linux,
2.8 - --gdb, --dmalloc, --duma, --strace, --ltrace, --libelf
2.9 - --gmp, --mpfr
2.10 + --gcc, --binutils, --glibc, --eglibc, --uClibc, --newlib,
2.11 + --linux, --gdb, --dmalloc, --duma, --strace, --ltrace,
2.12 + --libelf, --gmp, --mpfr
2.13
2.14 Valid options for all tools:
2.15 --stable, -s, +x (default)
2.16 @@ -124,6 +124,7 @@
2.17 --glibc) EXP=; OBS=; cat=LIBC; tool=glibc; tool_prefix=libc;;
2.18 --eglibc) EXP=; OBS=; cat=LIBC; tool=eglibc; tool_prefix=libc;;
2.19 --uClibc) EXP=; OBS=; cat=LIBC; tool=uClibc; tool_prefix=libc;;
2.20 + --newlib) EXP=; OBS=; cat=LIBC; tool=newlib; tool_prefix=libc;;
2.21 --linux) EXP=; OBS=; cat=KERNEL; tool=linux; tool_prefix=kernel;;
2.22 --gdb) EXP=; OBS=; cat=GDB; tool=gdb; tool_prefix=debug;;
2.23 --dmalloc) EXP=; OBS=; cat=DMALLOC; tool=dmalloc; tool_prefix=debug;;
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/scripts/build/libc/newlib.sh Sun Mar 22 23:33:43 2009 +0000
3.3 @@ -0,0 +1,31 @@
3.4 +# This file adds functions to build new
3.5 +# Copyright 2009 Yann E. MORIN
3.6 +# Licensed under the GPL v2. See COPYING in the root of this package
3.7 +
3.8 +do_libc_get() {
3.9 + :
3.10 +}
3.11 +
3.12 +do_libc_extract() {
3.13 + :
3.14 +}
3.15 +
3.16 +do_libc_check_config() {
3.17 + :
3.18 +}
3.19 +
3.20 +do_libc_headers() {
3.21 + :
3.22 +}
3.23 +
3.24 +do_libc_start_files() {
3.25 + :
3.26 +}
3.27 +
3.28 +do_libc() {
3.29 + :
3.30 +}
3.31 +
3.32 +do_libc_finish() {
3.33 + :
3.34 +}