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