config/libc/uClibc.in
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Wed May 25 20:23:48 2011 +0200 (2011-05-25)
changeset 2476 7690196856ce
parent 2238 c9eab2fa7a3c
child 2484 d1a8c2ae7946
permissions -rw-r--r--
debug/gdb: fix runtime sysroot

This patch sets the runtime sysroot to fix the following GDB warning:
"Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code."

The sysroot can later be changed within gdb with the `set sysroot`
command if necessary.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
     1 # uClibc options
     2 
     3 ## depends on ! MINGW32 && ! BARE_METAL
     4 ##
     5 ## select LIBC_SUPPORT_LINUXTHREADS
     6 ## select LIBC_SUPPORT_THREADS_NONE
     7 ##
     8 ## help The de-facto standard for embeded linux systems.
     9 ## help
    10 ## help Highly configurable, thus as feature-rich as you
    11 ## help need, without compromising for size.
    12 
    13 choice
    14     bool
    15     prompt "uClibc version"
    16 # Don't remove next line
    17 # CT_INSERT_VERSION_BELOW
    18 
    19 config LIBC_UCLIBC_V_0_9_31
    20     bool
    21     prompt "0.9.31 (EXPERIMENTAL)"
    22     depends on EXPERIMENTAL
    23     select LIBC_UCLIBC_0_9_30_or_later
    24 
    25 config LIBC_UCLIBC_V_0_9_30_3
    26     bool
    27     prompt "0.9.30.3"
    28     select LIBC_UCLIBC_0_9_30_or_later
    29 
    30 config LIBC_UCLIBC_V_0_9_30_2
    31     bool
    32     prompt "0.9.30.2"
    33     select LIBC_UCLIBC_0_9_30_or_later
    34 
    35 config LIBC_UCLIBC_V_0_9_30_1
    36     bool
    37     prompt "0.9.30.1"
    38     select LIBC_UCLIBC_0_9_30_or_later
    39 
    40 config LIBC_UCLIBC_V_0_9_30
    41     bool
    42     prompt "0.9.30"
    43     select LIBC_UCLIBC_0_9_30_or_later
    44 
    45 config LIBC_UCLIBC_V_0_9_29
    46     bool
    47     prompt "0.9.29 (OBSOLETE)"
    48     depends on OBSOLETE
    49 
    50 config LIBC_UCLIBC_V_0_9_28_3
    51     bool
    52     prompt "0.9.28.3 (OBSOLETE)"
    53     depends on OBSOLETE
    54 
    55 # As of today (20100702) we can be pretty sure that every
    56 # snapshots made since a month ago are post -0.9.30.
    57 
    58 config LIBC_UCLIBC_V_snapshot
    59     bool
    60     prompt "latest snapshot (EXPERIMENTAL)"
    61     depends on EXPERIMENTAL
    62     select LIBC_SUPPORT_NPTL
    63     select LIBC_UCLIBC_0_9_30_or_later
    64 
    65 config LIBC_UCLIBC_V_specific_date
    66     bool
    67     prompt "<specific date> (EXPERIMENTAL)"
    68     depends on EXPERIMENTAL
    69     select LIBC_SUPPORT_NPTL
    70     select LIBC_UCLIBC_0_9_30_or_later
    71 
    72 endchoice
    73 
    74 config LIBC_VERSION
    75     string
    76     prompt "Enter date (YYYYMMDD)" if LIBC_UCLIBC_V_specific_date
    77 # Don't remove next line
    78 # CT_INSERT_VERSION_STRING_BELOW
    79     default "0.9.31" if LIBC_UCLIBC_V_0_9_31
    80     default "0.9.30.3" if LIBC_UCLIBC_V_0_9_30_3
    81     default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
    82     default "0.9.30.1" if LIBC_UCLIBC_V_0_9_30_1
    83     default "0.9.30" if LIBC_UCLIBC_V_0_9_30
    84     default "0.9.29" if LIBC_UCLIBC_V_0_9_29
    85     default "0.9.28.3" if LIBC_UCLIBC_V_0_9_28_3
    86     default "snapshot" if LIBC_UCLIBC_V_snapshot
    87 
    88 config LIBC_UCLIBC_0_9_30_or_later
    89     bool
    90     default n
    91     select LIBC_UCLIBC_PARALLEL
    92 
    93 config LIBC_UCLIBC_PARALLEL
    94     bool
    95     default n
    96 
    97 choice
    98     bool
    99     prompt "uClibc verbosity:"
   100     default LIBC_UCLIBC_VERBOSITY_0
   101 
   102 config LIBC_UCLIBC_VERBOSITY_0
   103     bool
   104     prompt "Quiet build"
   105     help
   106       Print terse command indications.
   107 
   108 config LIBC_UCLIBC_VERBOSITY_1
   109     bool
   110     prompt "Brief build (show defines, ld flags)"
   111     help
   112       Print simplified command lines.
   113 
   114 config LIBC_UCLIBC_VERBOSITY_2
   115     bool
   116     prompt "Very verbose build"
   117     help
   118       Print full command lines.
   119 
   120 endchoice
   121 
   122 config LIBC_UCLIBC_VERBOSITY
   123     string
   124     default ""      if LIBC_UCLIBC_VERBOSITY_0
   125     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   126     default "V=2"   if LIBC_UCLIBC_VERBOSITY_2
   127 
   128 choice
   129     bool
   130     prompt "Debug level"
   131     default LIBC_UCLIBC_DEBUG_LEVEL_0
   132 
   133 config LIBC_UCLIBC_DEBUG_LEVEL_0
   134     bool
   135     prompt "none"
   136 
   137 config LIBC_UCLIBC_DEBUG_LEVEL_1
   138     bool
   139     prompt "minimal"
   140 
   141 config LIBC_UCLIBC_DEBUG_LEVEL_2
   142     bool
   143     prompt "all"
   144 
   145 endchoice
   146 
   147 config LIBC_UCLIBC_DEBUG_LEVEL
   148     int
   149     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   150     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   151     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   152 
   153 config LIBC_UCLIBC_CONFIG_FILE
   154     string
   155     prompt "Configuration file"
   156     default ""
   157     help
   158       Path to the configuration file.
   159       
   160       You _must_ provide one (for now).