TODO
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Thu Jul 28 22:09:31 2011 +0200 (2011-07-28)
changeset 2573 424fa2092ace
parent 1731 648fcf1f4568
child 3306 80e46e644bc0
permissions -rw-r--r--
scripts/libc: do not build add-ons by default

Currently, no --enable-add-ons option is passed to libc configure when
"$(do_libc_add_ons_list ,)" is empty, which makes configure automatically search
for present add-ons. In that case, all present add-ons are built, although
no add-on was selected by the user in the config. Moreover, this can make the
configure fail if some non-standard add-ons like eglibc-localedef are present.

This behavior also leads to an inconsistency from a user point of view between
the following cases:
- LIBC_ADDONS_LIST="", LIBC_GLIBC_USE_PORTS=n and THREADS="none" in the config,
which makes "$(do_libc_add_ons_list ,)" return "", so all present add-ons
are built.
- LIBC_ADDONS_LIST="", LIBC_GLIBC_USE_PORTS=n and THREADS!="none" in the
config, which makes "$(do_libc_add_ons_list ,)" return the add-on supporting
the chosen threading implementation, e.g. "nptl", so only this add-on is
built.

This patch disables the building of all add-ons in that case.

It is still possible to build all present add-ons by adding --enable-add-ons to
LIBC_GLIBC_EXTRA_CONFIG_ARRAY.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
yann@1335
     1
This is a somewhat ordered TODO list:
yann@1335
     2
antony@2564
     3
Recurring tasks:
yann@1335
     4
yann@1335
     5
- update versions for every tools...
yann@1335
     6
yann@1731
     7
- update and/or upgrade all samples
yann@1731
     8
yann@1335
     9
yann@1403
    10
Non-recurring tasks:
yann@1335
    11
yann@1731
    12
- update newlib (for enhanced bare metal)
yann@1731
    13
  - confirm existing implementation on targets other than AVR32
yann@1731
    14
  - try to make it generic, will help for uClibc++
yann@1512
    15
yann@1731
    16
- multilib
yann@1335
    17
yann@1731
    18
- Cygwin target (needs newlib)
yann@1731
    19
  - so we can build toolchains that generate code for Windows/Cygwin
yann@1731
    20
yann@1731
    21
- Cygwin host
yann@1731
    22
  - so we can build toolchains that run natively under Windows/Cygwin
yann@1731
    23
yann@1731
    24
- mingw32 target
yann@1731
    25
  - so we can build toolchains that generate code for Windows/Win32
yann@1731
    26
yann@1731
    27
- mingw32 host
yann@1731
    28
  - so we can build toolchains that run natively under Windows/Win32
yann@1731
    29
    (without requiring Cygwin)
yann@1335
    30
yann@1335
    31
- uClibc++
yann@1335
    32
  - see newlib, above
yann@1335
    33
yann@1731
    34
- uClinux
yann@1731
    35
  - check whether we can use newlib under uClinux (?)