Config.in 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. default BR2_TARGET_BAREBOX_2013_03
  10. help
  11. Select the specific Barebox version you want to use
  12. config BR2_TARGET_BAREBOX_2012_12
  13. bool "2012.12.1"
  14. config BR2_TARGET_BAREBOX_2013_01
  15. bool "2013.01.0"
  16. config BR2_TARGET_BAREBOX_2013_02
  17. bool "2013.02.0"
  18. config BR2_TARGET_BAREBOX_2013_03
  19. bool "2013.03.0"
  20. config BR2_TARGET_BAREBOX_CUSTOM_TARBALL
  21. bool "Custom tarball"
  22. config BR2_TARGET_BAREBOX_CUSTOM_GIT
  23. bool "Custom Git repository"
  24. endchoice
  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 "2012.12.1" if BR2_TARGET_BAREBOX_2012_12
  32. default "2013.01.0" if BR2_TARGET_BAREBOX_2013_01
  33. default "2013.02.0" if BR2_TARGET_BAREBOX_2013_02
  34. default "2013.03.0" if BR2_TARGET_BAREBOX_2013_03
  35. default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
  36. default $BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
  37. config BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR
  38. string "custom patch dir"
  39. help
  40. If your board requires custom patches, add the path to the
  41. directory containing the patches here. The patches must be
  42. named barebox-<version>-<something>.patch.
  43. Most users may leave this empty
  44. if BR2_TARGET_BAREBOX_CUSTOM_GIT
  45. config BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL
  46. string "URL of custom Git repository"
  47. config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION
  48. string "Custom Git version"
  49. endif
  50. choice
  51. prompt "Barebox configuration"
  52. default BR2_TARGET_BAREBOX_USE_DEFCONFIG
  53. config BR2_TARGET_BAREBOX_USE_DEFCONFIG
  54. bool "Using a defconfig"
  55. config BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG
  56. bool "Using a custom config file"
  57. endchoice
  58. config BR2_TARGET_BAREBOX_BOARD_DEFCONFIG
  59. string "board defconfig"
  60. depends on BR2_TARGET_BAREBOX_USE_DEFCONFIG
  61. help
  62. Name of the board for which Barebox should be built, without
  63. the _defconfig suffix.
  64. config BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE
  65. string "Configuration file path"
  66. depends on BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG
  67. help
  68. Path to the barebox configuration file
  69. config BR2_TARGET_BAREBOX_BAREBOXENV
  70. bool "bareboxenv tool in target"
  71. help
  72. Install bareboxenv tool in target.
  73. config BR2_TARGET_BAREBOX_CUSTOM_ENV
  74. bool "Generate an environment image"
  75. help
  76. Generate a custom environment image. This environment will
  77. contain the variables and scripts to be used at boot by
  78. barebox.
  79. config BR2_TARGET_BAREBOX_CUSTOM_ENV_PATH
  80. string "Environment path"
  81. depends on BR2_TARGET_BAREBOX_CUSTOM_ENV
  82. help
  83. Path to the directory containing the custom barebox
  84. environment. Depending on your setup, it will probably be
  85. based on either the content of the defaultenv or
  86. defaultenv-2 directories in the barebox source code, plus
  87. the additions needed. The output will be an image in the
  88. barebox devfs format, stored in the images directory, with
  89. the same name as the directory name given here.
  90. endif