config/debug/gdb.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Mar 11 22:11:43 2014 +0100 (2014-03-11)
changeset 3293 e11a8a2e225d
parent 3250 48f5cb844d26
child 3309 06b78d44d1a0
permissions -rw-r--r--
comptools: do not force build of make-3.81 unless really needed

On systems with make-3.82, we forcibly force the build and the use
of make-3.81

But some newer tools break when building with make-3.81. For example,
eglibc-3.18 breaks.

Introduce a new blind options that tools may select if they require
make-3.81. If the system does not have make-3.81, and this option is
selected, then we force the build of make-3.81. Otherwise, we leave
it to the user to decide on his own.

Note that no component selects this option for now. It will come in
later patches as we find them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # GDB menu
     2 
     3 ## help gdb is the GNU debugger
     4 
     5 source "config/debug/gdb.in.cross"
     6 source "config/debug/gdb.in.native"
     7 source "config/debug/gdb.in.gdbserver"
     8 
     9 if GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
    10 
    11 comment "gdb version"
    12 
    13 config DEBUG_GDB_SHOW_LINARO
    14     bool
    15     prompt "Show Linaro versions"
    16     help
    17       Linaro is maintaining some advanced/more stable/experimental versions
    18       of gdb, especially for the ARM architecture.
    19 
    20       Those versions have not been blessed by the gdb community (nor have they
    21       been cursed either!), but they look to be pretty much stable, and even
    22       more stable than the upstream versions. YMMV...
    23 
    24       If you do not know what this Linaro stuff is, then simply say 'n' here,
    25       and rest in peace. OTOH, if you know what you are doing, you will be
    26       able to use and enjoy :-) the Linaro versions by saying 'y' here.
    27 
    28       Linaro: http://www.linaro.org/
    29 
    30 choice
    31     bool
    32     prompt "gdb version"
    33 # Don't remove next line
    34 # CT_INSERT_VERSION_BELOW
    35 
    36 config GDB_V_7_7
    37     bool
    38     prompt "7.7"
    39     select GDB_7_0_or_later
    40     select GDB_7_2_or_later
    41 
    42 config GDB_V_7_6_1
    43     bool
    44     prompt "7.6.1"
    45     select GDB_7_0_or_later
    46     select GDB_7_2_or_later
    47 
    48 config GDB_V_linaro_7_6_2013_05
    49     bool
    50     prompt "linaro-7.6-2013.05"
    51     depends on DEBUG_GDB_SHOW_LINARO
    52     select GDB_7_0_or_later
    53     select GDB_7_2_or_later
    54 
    55 config GDB_V_7_5_1
    56     bool
    57     prompt "7.5.1"
    58     select GDB_7_0_or_later
    59     select GDB_7_2_or_later
    60 
    61 config GDB_V_linaro_7_5_2012_12_1
    62     bool
    63     prompt "linaro-7.5-2012.12-1"
    64     depends on DEBUG_GDB_SHOW_LINARO
    65     select GDB_7_0_or_later
    66     select GDB_7_2_or_later
    67 
    68 config GDB_V_linaro_7_4_2012_06
    69     bool
    70     prompt "linaro-7.4-2012.06"
    71     depends on DEBUG_GDB_SHOW_LINARO
    72     select GDB_7_0_or_later
    73     select GDB_7_2_or_later
    74 
    75 config GDB_V_7_4_1
    76     bool
    77     prompt "7.4.1"
    78     select GDB_7_0_or_later
    79     select GDB_7_2_or_later
    80 
    81 config GDB_V_7_4
    82     bool
    83     prompt "7.4"
    84     select GDB_7_0_or_later
    85     select GDB_7_2_or_later
    86 
    87 config GDB_V_linaro_7_3_2011_12
    88     bool
    89     prompt "linaro-7.3-2011.12"
    90     depends on DEBUG_GDB_SHOW_LINARO
    91     select GDB_7_0_or_later
    92     select GDB_7_2_or_later
    93 
    94 config GDB_V_7_3_1
    95     bool
    96     prompt "7.3.1"
    97     select GDB_7_0_or_later
    98     select GDB_7_2_or_later
    99 
   100 config GDB_V_7_3a
   101     bool
   102     prompt "7.3a"
   103     select GDB_7_0_or_later
   104     select GDB_7_2_or_later
   105 
   106 config GDB_V_linaro_7_2_2011_05_0
   107     bool
   108     prompt "linaro-7.2-2011.05-0"
   109     depends on DEBUG_GDB_SHOW_LINARO
   110     select GDB_7_0_or_later
   111     select GDB_7_2_or_later
   112 
   113 config GDB_V_7_2a
   114     bool
   115     prompt "7.2a"
   116     select GDB_7_0_or_later
   117     select GDB_7_2_or_later
   118 
   119 config GDB_V_7_1a
   120     bool
   121     prompt "7.1a"
   122     select GDB_7_0_or_later
   123 
   124 config GDB_V_7_0_1a
   125     bool
   126     prompt "7.0.1a"
   127     select GDB_7_0_or_later
   128 
   129 config GDB_V_7_0a
   130     bool
   131     prompt "7.0a"
   132     select GDB_7_0_or_later
   133 
   134 config GDB_V_6_8a
   135     bool
   136     prompt "6.8a"
   137 
   138 config GDB_CUSTOM
   139     bool
   140     prompt "Custom gdb"
   141     depends on EXPERIMENTAL
   142     select GDB_7_0_or_later
   143     select GDB_7_2_or_later
   144 
   145 endchoice
   146 
   147 config GDB_7_2_or_later
   148     bool
   149 
   150 config GDB_7_0_or_later
   151     bool
   152     select GDB_HAS_PKGVERSION_BUGURL
   153     select GDB_INSTALL_GDBINIT
   154 
   155 config GDB_HAS_PKGVERSION_BUGURL
   156     bool
   157 
   158 config GDB_INSTALL_GDBINIT
   159     bool
   160 
   161 config GDB_VERSION
   162     string
   163 # Don't remove next line
   164 # CT_INSERT_VERSION_STRING_BELOW
   165     default "7.7" if GDB_V_7_7
   166     default "7.6.1" if GDB_V_7_6_1
   167     default "linaro-7.6-2013.05" if GDB_V_linaro_7_6_2013_05
   168     default "7.5.1" if GDB_V_7_5_1
   169     default "linaro-7.5-2012.12-1" if GDB_V_linaro_7_5_2012_12_1
   170     default "linaro-7.4-2012.06" if GDB_V_linaro_7_4_2012_06
   171     default "7.4.1" if GDB_V_7_4_1
   172     default "7.4" if GDB_V_7_4
   173     default "linaro-7.3-2011.12" if GDB_V_linaro_7_3_2011_12
   174     default "7.3.1" if GDB_V_7_3_1
   175     default "7.3a" if GDB_V_7_3a
   176     default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0
   177     default "7.2a" if GDB_V_7_2a
   178     default "7.1a" if GDB_V_7_1a
   179     default "7.0.1a" if GDB_V_7_0_1a
   180     default "7.0a" if GDB_V_7_0a
   181     default "6.8a" if GDB_V_6_8a
   182     default "custom" if GDB_CUSTOM
   183 
   184 if GDB_CUSTOM
   185 
   186 config GDB_CUSTOM_LOCATION
   187     string
   188     prompt "Full path to custom gdb source"
   189     default ""
   190     help
   191       Enter the path to the directory (or tarball) of your source for gdb,
   192       or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/gdb
   193 
   194 endif # GDB_CUSTOM
   195 
   196 endif
   197