config/libc/newlib.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jun 04 17:43:49 2011 +0200 (2011-06-04)
changeset 2505 f87f02b00cc7
parent 2167 9cd8ee461fd0
child 2647 cb0f31fe2535
permissions -rw-r--r--
Makefile: make it work for auto-completion

The latest autocompletion calls 'make -qp' to get all the possible
targets. This currently fails, as our makefile is calling itself
again and again ad-libitum.

Fix it by detecting that the recursion level is not 0, and bail out
if so. It works so well that it has the side effect of showing only
the 'public' target, and hide our internal ones! :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@2165
     1
# newlib second-part options
yann@2165
     2
yann@2167
     3
config LIBC_NEWLIB_IO_C99FMT
yann@2167
     4
    bool
yann@2167
     5
    prompt "Enable IOs on C99 formats"
yann@2167
     6
    help
yann@2167
     7
      Enable support for IOs on C99 formats.
yann@2167
     8
yann@2166
     9
config LIBC_NEWLIB_IO_LL
yann@2166
    10
    bool
yann@2166
    11
    prompt "Enable IOs on long long"
yann@2166
    12
    help
yann@2166
    13
      Enable support for IOs on long long integers.
yann@2166
    14
yann@2165
    15
config LIBC_NEWLIB_IO_FLOAT
yann@2165
    16
    bool
yann@2165
    17
    prompt "Enable IOs on floats and doubles"
yann@2165
    18
    help
yann@2165
    19
      Enable support for IOs on floating point
yann@2165
    20
      values (float and double).
yann@2165
    21
yann@2165
    22
config LIBC_NEWLIB_IO_LDBL
yann@2165
    23
    bool
yann@2165
    24
    prompt "Enable IOs on long doubles"
yann@2165
    25
    depends on LIBC_NEWLIB_IO_FLOAT
yann@2165
    26
    help
yann@2165
    27
      Enable support for IOs on long doubles.