crosstool-ng/scripts/build/libc
Benoît THÉBAUDEAU" 2ea05ecaa7 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>
2011-07-28 22:09:31 +02:00
..
eglibc.sh libc/eglibc: Add option that allows for getting svn over http:// 2011-06-30 18:14:01 +02:00
glibc-eglibc.sh-common scripts/libc: do not build add-ons by default 2011-07-28 22:09:31 +02:00
glibc.sh libc/glibc: do not try to download NPTL add-on 2011-06-04 17:15:58 +02:00
mingw.sh libc/mingw: log even more 2011-03-20 01:16:34 +01:00
newlib.sh libc/newlib: log even more 2011-03-20 01:13:05 +01:00
none.sh libc: remove now unneeded do_libc_headers 2011-01-22 22:36:20 +01:00
uClibc.sh libc/uClibc: use MMU settings 2011-04-24 18:57:01 +02:00