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