Config.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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 "2015.07.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 "2015.07.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. choice
  49. prompt "Barebox configuration"
  50. default BR2_TARGET_BAREBOX_USE_DEFCONFIG
  51. config BR2_TARGET_BAREBOX_USE_DEFCONFIG
  52. bool "Using a defconfig"
  53. config BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG
  54. bool "Using a custom config file"
  55. endchoice
  56. config BR2_TARGET_BAREBOX_BOARD_DEFCONFIG
  57. string "board defconfig"
  58. depends on BR2_TARGET_BAREBOX_USE_DEFCONFIG
  59. help
  60. Name of the board for which Barebox should be built, without
  61. the _defconfig suffix.
  62. config BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE
  63. string "Configuration file path"
  64. depends on BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG
  65. help
  66. Path to the barebox configuration file
  67. config BR2_TARGET_BAREBOX_CONFIG_FRAGMENT_FILES
  68. string "Additional configuration fragment files"
  69. help
  70. A space-separated list of configuration fragment files,
  71. that will be merged to the main Barebox configuration file.
  72. config BR2_TARGET_BAREBOX_BAREBOXENV
  73. bool "bareboxenv tool in target"
  74. help
  75. Install bareboxenv tool in target.
  76. config BR2_TARGET_BAREBOX_CUSTOM_ENV
  77. bool "Generate an environment image"
  78. help
  79. Generate a custom environment image. This environment will
  80. contain the variables and scripts to be used at boot by
  81. barebox.
  82. config BR2_TARGET_BAREBOX_CUSTOM_ENV_PATH
  83. string "Environment path"
  84. depends on BR2_TARGET_BAREBOX_CUSTOM_ENV
  85. help
  86. Path to the directory containing the custom barebox
  87. environment. Depending on your setup, it will probably be
  88. based on either the content of the defaultenv or
  89. defaultenv-2 directories in the barebox source code, plus
  90. the additions needed. The output will be an image in the
  91. barebox devfs format, stored in the images directory, with
  92. the same name as the directory name given here.
  93. endif