Initial revision
[openwrt.git] / toolchain / gdb / Config.in
1 # Choose gcc version.
2 # WARNING -- 2.95 currently only builds for i386, arm, mips*, and powerpc.
3 # WARNING -- 2.95 does not currently build natively for the target.
4
5 comment "Gdb Options"
6
7 config BR2_PACKAGE_GDB
8         bool "Build gdb debugger for the Target"
9         default n
10         select BR2_PACKAGE_NCURSES
11         help
12             Enable the gdb debugger.
13
14 config BR2_PACKAGE_GDB_SERVER
15         bool "Build gdb server for the Target"
16         default n
17         select BR2_PACKAGE_NCURSES
18         help
19             Enable the gdb debugger.
20
21 choice
22         prompt "GDB debuger Version"
23         default BR2_GDB_VERSION_5_3
24         depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_HOST_GDB
25         help
26           Select the version of gcc you wish to use.
27
28         config BR2_GDB_VERSION_5.3
29                 bool "gdb 5.3"
30
31         config BR2_GDB_VERSION_6_1_1
32                 bool "gdb 6.1.1"
33
34         config BR2_GDB_VERSION_6_2
35                 bool "gdb 6.2"
36
37         config BR2_GDB_VERSION_6_2_1
38                 bool "gdb 6.2.1"
39
40 endchoice
41
42 config BR2_GDB_VERSION
43         string
44         default "5.3"      if BR2_GDB_VERSION_5.3
45         default "6.1.1"    if BR2_GDB_VERSION_6_1_1
46         default "6.2"      if BR2_GDB_VERSION_6_2
47         default "6.2.1"    if BR2_GDB_VERSION_6_2_1
48
49