config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 11 21:47:19 2009 +0000 (2009-06-11)
branch1.4
changeset 1451 25d050084e98
parent 1224 959134130e3e
child 1326 56a811a04414
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(-)
(transplanted from d7ddcb75e0f703e2ba6d17169167356389224870)
     1 # uClibc options
     2 # depends on ! BARE_METAL
     3 
     4 config LIBC_uClibc
     5     select LIBC_SUPPORT_LINUXTHREADS
     6     help
     7       The de-facto standard for embeded linux systems.
     8       Highly configurable, thus as feature-rich as you need, without
     9       compromising for size.
    10 
    11 choice
    12     bool
    13     prompt "uClibc version"
    14 
    15 config LIBC_V_0_9_28
    16     bool
    17     prompt "0.9.28 (OBSOLETE)"
    18     depends on OBSOLETE
    19 
    20 config LIBC_V_0_9_28_1
    21     bool
    22     prompt "0.9.28.1 (OBSOLETE)"
    23     depends on OBSOLETE
    24 
    25 config LIBC_V_0_9_28_2
    26     bool
    27     prompt "0.9.28.2 (OBSOLETE)"
    28     depends on OBSOLETE
    29 
    30 config LIBC_V_0_9_28_3
    31     bool
    32     prompt "0.9.28.3"
    33 
    34 config LIBC_V_0_9_29
    35     bool
    36     prompt "0.9.29"
    37 
    38 config LIBC_V_0_9_30
    39     bool
    40     prompt "0.9.30"
    41 
    42 config LIBC_V_0_9_30_1
    43     bool
    44     prompt "0.9.30.1"
    45 
    46 # CT_INSERT_VERSION_ABOVE
    47 # Don't remove above line!
    48 
    49 config LIBC_V_snapshot
    50     bool
    51     prompt "latest snapshot (EXPERIMENTAL)"
    52     depends on EXPERIMENTAL
    53 
    54 config LIBC_V_specific_date
    55     bool
    56     prompt "<specific date> (EXPERIMENTAL)"
    57     depends on EXPERIMENTAL
    58 
    59 endchoice
    60 
    61 config LIBC_VERSION
    62     string
    63     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    64     default "snapshot" if LIBC_V_snapshot
    65     default "0.9.28" if LIBC_V_0_9_28
    66     default "0.9.28.1" if LIBC_V_0_9_28_1
    67     default "0.9.28.2" if LIBC_V_0_9_28_2
    68     default "0.9.28.3" if LIBC_V_0_9_28_3
    69     default "0.9.29" if LIBC_V_0_9_29
    70     default "0.9.30" if LIBC_V_0_9_30
    71     default "0.9.30.1" if LIBC_V_0_9_30_1
    72 # CT_INSERT_VERSION_STRING_ABOVE
    73 # Don't remove above line!
    74 
    75 config LIBC_UCLIBC_PARALLEL
    76     bool
    77     prompt "Build uClibc in //" if LIBC_V_snapshot || LIBC_V_specific_date
    78     default n
    79     help
    80       Build uClibc using parallel jobs.
    81       Some 'old' versions won't build in //, but it works starting with
    82       0.9.30 release candidates.
    83 
    84 choice
    85     bool
    86     prompt "uClibc verbosity:"
    87     default LIBC_UCLIBC_VERBOSITY_0
    88 
    89 config LIBC_UCLIBC_VERBOSITY_0
    90     bool
    91     prompt "Simplified"
    92     help
    93       Print simplified command lines.
    94 
    95 config LIBC_UCLIBC_VERBOSITY_1
    96     bool
    97     prompt "Full commands"
    98     help
    99       Print full command lines.
   100 
   101 endchoice
   102 
   103 config LIBC_UCLIBC_VERBOSITY
   104     string
   105     default ""      if LIBC_UCLIBC_VERBOSITY_0
   106     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   107 
   108 choice
   109     bool
   110     prompt "Debug level"
   111     default LIBC_UCLIBC_DEBUG_LEVEL_0
   112 
   113 config LIBC_UCLIBC_DEBUG_LEVEL_0
   114     bool
   115     prompt "none"
   116 
   117 config LIBC_UCLIBC_DEBUG_LEVEL_1
   118     bool
   119     prompt "minimal"
   120 
   121 config LIBC_UCLIBC_DEBUG_LEVEL_2
   122     bool
   123     prompt "all"
   124 
   125 endchoice
   126 
   127 config LIBC_UCLIBC_DEBUG_LEVEL
   128     int
   129     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   130     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   131     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   132 
   133 config LIBC_UCLIBC_BUILD_CROSS_LDD
   134     bool
   135     prompt "Build cross-ldd"
   136     default y
   137     help
   138       Say 'y' here to build a cross-ldd to run in the host.
   139       
   140       Building a cross-ldd only works on ELF systems, that is,
   141       if you build under Cygwin, you *must* say 'n' here.
   142 
   143 config LIBC_UCLIBC_CONFIG_FILE
   144     string
   145     prompt "Configuration file"
   146     default ""
   147     help
   148       Path to the configuration file.
   149       
   150       You _must_ provide one (for now).
   151 
   152 config LIBC_UCLIBC_LOCALES
   153     bool
   154     prompt "Add support for locales"
   155     default n
   156     help
   157       Say y if you want uClibc to support localisation.
   158 
   159       Note that seems to be broken on recent uClibc releases.