Config.in 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. config 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 "2020.09.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 "2020.09.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. if BR2_TARGET_BAREBOX_CUSTOM_GIT
  43. config BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL
  44. string "URL of custom Git repository"
  45. config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION
  46. string "Custom Git version"
  47. endif
  48. source boot/barebox/barebox/Config.in
  49. menuconfig BR2_TARGET_BAREBOX_AUX
  50. bool "Build barebox with an auxiliary config"
  51. help
  52. Build barebox with an auxiliary configuration.
  53. Useful for building an SPL (Secondary Program Loader) in
  54. addition to the traditional TPL (Tertiary Program Loader),
  55. such as the X-Loader or MLO for Texas Instruments
  56. processors.
  57. if BR2_TARGET_BAREBOX_AUX
  58. source boot/barebox/barebox-aux/Config.in
  59. endif
  60. endif