2
1

Config.in.host 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. config BR2_PACKAGE_HOST_GDB
  2. bool "Build cross gdb for the host"
  3. # When the external toolchain gdbserver is used, we shouldn't
  4. # allow to build a cross-gdb, as the one of the external
  5. # toolchain should be used.
  6. depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  7. depends on !BR2_aarch64 && !BR2_nios2
  8. help
  9. Build a cross gdb that runs on the host machine and debugs
  10. programs running on the target. It requires 'gdbserver'
  11. installed on the target, see BR2_PACKAGE_GDB_SERVER to
  12. enable it.
  13. if BR2_PACKAGE_HOST_GDB
  14. choice
  15. prompt "GDB debugger Version"
  16. depends on !BR2_arc
  17. depends on !BR2_microblaze
  18. default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
  19. default BR2_GDB_VERSION_7_7 if BR2_powerpc64le
  20. default BR2_GDB_VERSION_7_6
  21. help
  22. Select the version of gdb you wish to use.
  23. config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
  24. depends on BR2_avr32
  25. bool "gdb 6.7.1-avr32-2.1.5"
  26. config BR2_GDB_VERSION_7_6
  27. bool "gdb 7.6.x"
  28. depends on !BR2_powerpc64le
  29. config BR2_GDB_VERSION_7_7
  30. bool "gdb 7.7.x"
  31. endchoice
  32. endif
  33. # If cross-gdb is not enabled, the latest working version is chosen.
  34. config BR2_GDB_VERSION
  35. string
  36. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
  37. default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 || \
  38. (!BR2_PACKAGE_HOST_GDB && BR2_avr32)
  39. default "arc-4.8-R3" if BR2_arc
  40. default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
  41. default "7.6.2" if BR2_GDB_VERSION_7_6 || !BR2_PACKAGE_HOST_GDB
  42. default "7.7.1" if BR2_GDB_VERSION_7_7 || BR2_powerpc64le