config/libc/newlib.in.2
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 2781 504b0759c149
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
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.
kpet@2647
    28
kpet@2647
    29
config LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS
kpet@2647
    30
    bool
kpet@2647
    31
    prompt "Disable the syscalls supplied with newlib"
kpet@2647
    32
    help
kpet@2647
    33
      Disable the syscalls that come with newlib. You
kpet@2647
    34
	  will have to implement your own _sbrk, _read,
kpet@2647
    35
	  _write... If you plan to port newlib to a new
kpet@2647
    36
	  platform/board, say Yes.
kpet@2647
    37
zhenqiang@2783
    38
config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE
zhenqiang@2783
    39
    bool
zhenqiang@2783
    40
    prompt "Optimize newlib for size"
zhenqiang@2783
    41
    default y
zhenqiang@2783
    42
    help
zhenqiang@2783
    43
      Pass --enable-target-optspace to newlib configure.
zhenqiang@2783
    44
      
zhenqiang@2783
    45
      This will compile newlib with -Os.
zhenqiang@2783
    46
zhenqiang@2781
    47
config LIBC_NEWLIB_EXTRA_CONFIG_ARRAY
zhenqiang@2781
    48
    string
zhenqiang@2781
    49
    prompt "Extra config for newlib"
zhenqiang@2781
    50
    default ""
zhenqiang@2781
    51
    help
zhenqiang@2781
    52
      Extra flags to pass onto ./configure when configuring the newlib.