Config.in 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. menuconfig BR2_TARGET_BAREBOX
  2. bool "Barebox"
  3. help
  4. The Barebox bootloader, formerly known as U-Boot v2.
  5. http://www.barebox.org
  6. if BR2_TARGET_BAREBOX
  7. choice
  8. prompt "version"
  9. help
  10. Select the specific Barebox version you want to use
  11. config BR2_TARGET_BAREBOX_LATEST_VERSION
  12. bool "2022.12.0"
  13. config BR2_TARGET_BAREBOX_CUSTOM_VERSION
  14. bool "Custom version"
  15. help
  16. This option allows to use a specific official versions
  17. config BR2_TARGET_BAREBOX_CUSTOM_TARBALL
  18. bool "Custom tarball"
  19. config BR2_TARGET_BAREBOX_CUSTOM_GIT
  20. bool "Custom Git repository"
  21. endchoice
  22. config BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE
  23. string "Barebox version"
  24. depends on BR2_TARGET_BAREBOX_CUSTOM_VERSION
  25. if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
  26. config BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION
  27. string "URL of custom Barebox tarball"
  28. endif
  29. config BR2_TARGET_BAREBOX_VERSION
  30. string
  31. default "2022.12.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
  32. default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
  33. default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
  34. default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
  35. config BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR
  36. string "custom patch dir"
  37. help
  38. If your board requires custom patches, add the path to the
  39. directory containing the patches here. The patches must be
  40. named barebox-<version>-<something>.patch.
  41. Most users may leave this empty
  42. config BR2_TARGET_BAREBOX_NEEDS_OPENSSL
  43. bool "Barebox needs OpenSSL"
  44. help
  45. Select this option if your Barebox board configuration
  46. requires OpenSSL to be available on the host.
  47. config BR2_TARGET_BAREBOX_NEEDS_LIBUSB
  48. bool "Barebox needs LibUSB"
  49. help
  50. Select this option if your Barebox board configuration
  51. requires libUSB to be available on the host.
  52. if BR2_TARGET_BAREBOX_CUSTOM_GIT
  53. config BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL
  54. string "URL of custom Git repository"
  55. config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION
  56. string "Custom Git version"
  57. endif
  58. source "boot/barebox/barebox/Config.in"
  59. menuconfig BR2_TARGET_BAREBOX_AUX
  60. bool "Build barebox with an auxiliary config"
  61. help
  62. Build barebox with an auxiliary configuration.
  63. Useful for building an SPL (Secondary Program Loader) in
  64. addition to the traditional TPL (Tertiary Program Loader),
  65. such as the X-Loader or MLO for Texas Instruments
  66. processors.
  67. if BR2_TARGET_BAREBOX_AUX
  68. source "boot/barebox/barebox-aux/Config.in"
  69. endif
  70. endif