config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 11 21:47:19 2009 +0000 (2009-06-11)
changeset 1352 d7ddcb75e0f7
parent 1318 5416f4ba36bf
child 1380 945dc995daa7
permissions -rw-r--r--
populate: fix installing dynamic linker 'ld.so'

The dynamic linker, ld.so, needs the execute bit to be set.
Detect tht the library being installed is in fact ld.so and
install it with 0755 instead of 0644.

Fix detecting src == dst.

Use a simpler command to copy src -> dst.

Also change echo to printf, get rid of 'echo -n', which is
highly non-portable.


-------- diffstat follows --------
/trunk/scripts/populate.in | 76 43 33 0 +++++++++++++++++++++++++++++-----------------------
1 file changed, 43 insertions(+), 33 deletions(-)
yann@1318
     1
# Companion libraries config options
yann@1318
     2
# Those libraries are required for different versions of gcc,
yann@1318
     3
# and can be used by binutils and gdb (maybe others as well).
yann@602
     4
yann@1318
     5
menu "Companion libraries"
yann@602
     6
yann@602
     7
config GMP_MPFR
yann@602
     8
    bool
yann@602
     9
    prompt "GMP and MPFR"
yann@602
    10
    help
yann@1318
    11
      gcc 4.3.0 and above requires both GMP and MPFR to build some frontends,
yann@1324
    12
      and some other components can use them as well.
yann@1318
    13
      
yann@1324
    14
      These will be automatically selected if you choose gcc>=4.3.0, but you
yann@1324
    15
      can say 'Y' here if you want to build those two libraries for the other
yann@1324
    16
      components (that don't select them by default).
yann@1318
    17
      
yann@602
    18
      The packages that can use GMP and MPFR are:
yann@602
    19
        - binutils
yann@602
    20
        - gcc
yann@602
    21
        - gdb
yann@602
    22
yann@602
    23
config GMP_MPFR_TARGET
yann@602
    24
    bool
yann@602
    25
    prompt "Build libraries for the target"
yann@602
    26
    depends on GMP_MPFR
yann@850
    27
    depends on ! BARE_METAL
yann@602
    28
    default n
yann@602
    29
    help
yann@602
    30
      Also build libraries for the target. This can be usefull if you want
yann@602
    31
      to later build a compiler that will run on the target, or if you want
yann@602
    32
      to run gdb natively on the target.
yann@602
    33
yann@602
    34
if GMP_MPFR
yann@1318
    35
source config/companion_libs/gmp.in
yann@1318
    36
source config/companion_libs/mpfr.in
yann@602
    37
endif
yann@602
    38
yann@1324
    39
config PPL_CLOOG
yann@1324
    40
    bool
yann@1324
    41
    prompt "PPL and GLooG/PPL"
yann@1324
    42
    help
yann@1324
    43
      gcc-4.4.0 and above requires both PPL and CLooG/PPL to build some
yann@1324
    44
      parts of the optimiser (GRAPHITE loop optimisation, to be precise).
yann@1324
    45
      
yann@1324
    46
      These will be automatically selected if you choose gcc>=4.4.0, but you
yann@1324
    47
      can say 'Y' here, although it is unknown yet if any other component
yann@1324
    48
      can use them.
yann@1324
    49
yann@1324
    50
if PPL_CLOOG
yann@1324
    51
source config/companion_libs/ppl.in
yann@1324
    52
endif
yann@1324
    53
yann@602
    54
endmenu