.hgignore
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Thu Jul 28 22:09:31 2011 +0200 (2011-07-28)
changeset 2573 424fa2092ace
parent 2468 90595d1c1017
child 2621 00853d565edf
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@1412
     1
syntax: glob
yann@1412
     2
yann@1412
     3
# Generated files
yann@1412
     4
Makefile
yann@1412
     5
ct-ng
yann@1412
     6
docs/ct-ng.1
yann@1412
     7
docs/ct-ng.1.gz
yann@1412
     8
paths.mk
yann@1412
     9
scripts/crosstool-NG.sh
yann@1412
    10
scripts/saveSample.sh
yann@1412
    11
scripts/showTuple.sh
yann@1412
    12
kconfig/conf
yann@2454
    13
kconfig/?conf
yann@1412
    14
kconfig/**.o
yann@1412
    15
kconfig/**.dep
yann@2481
    16
config/configure.in
yann@1412
    17
config.gen/
yann@1412
    18
.config
yann@2468
    19
.config.2
yann@2133
    20
yann@2133
    21
# Temporaries
yann@2133
    22
.*.swp
yann@2339
    23
build.log
yann@1412
    24
.config.old
yann@2133
    25
yann@2133
    26
# This is the place where toolchains are built
yann@2133
    27
.build/
yann@2133
    28
# .. and the legacy location
yann@1412
    29
targets/