Config.in 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. choice
  2. prompt "Barebox configuration"
  3. default BR2_TARGET_BAREBOX_AUX_USE_DEFCONFIG
  4. config BR2_TARGET_BAREBOX_AUX_USE_DEFCONFIG
  5. bool "Using a defconfig"
  6. config BR2_TARGET_BAREBOX_AUX_USE_CUSTOM_CONFIG
  7. bool "Using a custom config file"
  8. endchoice
  9. config BR2_TARGET_BAREBOX_AUX_BOARD_DEFCONFIG
  10. string "board defconfig"
  11. depends on BR2_TARGET_BAREBOX_AUX_USE_DEFCONFIG
  12. help
  13. Name of the board for which Barebox should be built, without
  14. the _defconfig suffix.
  15. config BR2_TARGET_BAREBOX_AUX_CUSTOM_CONFIG_FILE
  16. string "Configuration file path"
  17. depends on BR2_TARGET_BAREBOX_AUX_USE_CUSTOM_CONFIG
  18. help
  19. Path to the barebox configuration file
  20. config BR2_TARGET_BAREBOX_AUX_CONFIG_FRAGMENT_FILES
  21. string "Additional configuration fragment files"
  22. help
  23. A space-separated list of configuration fragment files,
  24. that will be merged to the main Barebox configuration file.
  25. config BR2_TARGET_BAREBOX_AUX_IMAGE_FILE
  26. string "Image file names"
  27. help
  28. Space-separated list of barebox images which will be copied to
  29. the images directory.
  30. If left empty, defaults to:
  31. - barebox.bin for barebox versions older than 2012.10.
  32. - barebox-flash-image for later versions.
  33. config BR2_TARGET_BAREBOX_AUX_CUSTOM_ENV
  34. bool "Generate an environment image"
  35. help
  36. Generate a custom environment image. This environment will
  37. contain the variables and scripts to be used at boot by
  38. barebox.
  39. config BR2_TARGET_BAREBOX_AUX_CUSTOM_ENV_PATH
  40. string "Environment path"
  41. depends on BR2_TARGET_BAREBOX_AUX_CUSTOM_ENV
  42. help
  43. Path to the directory containing the custom barebox
  44. environment. Depending on your setup, it will probably be
  45. based on either the content of the defaultenv or
  46. defaultenv-2 directories in the barebox source code, plus
  47. the additions needed. The output will be an image in the
  48. barebox devfs format, stored in the images directory, with
  49. the same name as the directory name given here.
  50. config BR2_TARGET_BAREBOX_AUX_CUSTOM_EMBEDDED_ENV_PATH
  51. string "Embedded environment path"
  52. help
  53. If this option is not empty, it is the path to a custom
  54. embedded barebox environment. This image will be used when
  55. the environment found in the environment sector is
  56. invalid. This option sets the barebox Kconfig option
  57. CONFIG_DEFAULT_ENVIRONMENT_PATH to the specified path. This
  58. way it is possible to use Buildroot variables like
  59. TOPDIR etc. to refer to the custom environment.
  60. Depending on your setup, the custom embedded environment
  61. will probably be based on either the content of the
  62. defaultenv or defaultenv-2 directories in the barebox source
  63. code.