xref: /OK3568_Linux_fs/buildroot/boot/barebox/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX
2*4882a593Smuzhiyun	bool "Barebox"
3*4882a593Smuzhiyun	help
4*4882a593Smuzhiyun	  The Barebox bootloader, formerly known as U-Boot v2.
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun	  http://www.barebox.org
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunif BR2_TARGET_BAREBOX
9*4882a593Smuzhiyunchoice
10*4882a593Smuzhiyun	prompt "version"
11*4882a593Smuzhiyun	help
12*4882a593Smuzhiyun	  Select the specific Barebox version you want to use
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_LATEST_VERSION
15*4882a593Smuzhiyun	bool "2021.10.0"
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_CUSTOM_VERSION
18*4882a593Smuzhiyun	bool "Custom version"
19*4882a593Smuzhiyun	help
20*4882a593Smuzhiyun	  This option allows to use a specific official versions
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_CUSTOM_TARBALL
23*4882a593Smuzhiyun	bool "Custom tarball"
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_CUSTOM_GIT
26*4882a593Smuzhiyun	bool "Custom Git repository"
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunendchoice
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE
31*4882a593Smuzhiyun	string "Barebox version"
32*4882a593Smuzhiyun	depends on BR2_TARGET_BAREBOX_CUSTOM_VERSION
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunif BR2_TARGET_BAREBOX_CUSTOM_TARBALL
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION
37*4882a593Smuzhiyun	string "URL of custom Barebox tarball"
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunendif
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_VERSION
42*4882a593Smuzhiyun	string
43*4882a593Smuzhiyun	default "2021.10.0"	if BR2_TARGET_BAREBOX_LATEST_VERSION
44*4882a593Smuzhiyun	default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
45*4882a593Smuzhiyun	default "custom"	if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
46*4882a593Smuzhiyun	default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR
49*4882a593Smuzhiyun	string "custom patch dir"
50*4882a593Smuzhiyun	help
51*4882a593Smuzhiyun	  If your board requires custom patches, add the path to the
52*4882a593Smuzhiyun	  directory containing the patches here. The patches must be
53*4882a593Smuzhiyun	  named barebox-<version>-<something>.patch.
54*4882a593Smuzhiyun
55*4882a593Smuzhiyun	  Most users may leave this empty
56*4882a593Smuzhiyun
57*4882a593Smuzhiyunif BR2_TARGET_BAREBOX_CUSTOM_GIT
58*4882a593Smuzhiyun
59*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL
60*4882a593Smuzhiyun	string "URL of custom Git repository"
61*4882a593Smuzhiyun
62*4882a593Smuzhiyunconfig BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION
63*4882a593Smuzhiyun	string "Custom Git version"
64*4882a593Smuzhiyun
65*4882a593Smuzhiyunendif
66*4882a593Smuzhiyun
67*4882a593Smuzhiyunsource boot/barebox/barebox/Config.in
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunmenuconfig BR2_TARGET_BAREBOX_AUX
70*4882a593Smuzhiyun	bool "Build barebox with an auxiliary config"
71*4882a593Smuzhiyun	help
72*4882a593Smuzhiyun	  Build barebox with an auxiliary configuration.
73*4882a593Smuzhiyun
74*4882a593Smuzhiyun	  Useful for building an SPL (Secondary Program Loader) in
75*4882a593Smuzhiyun	  addition to the traditional TPL (Tertiary Program Loader),
76*4882a593Smuzhiyun	  such as the X-Loader or MLO for Texas Instruments
77*4882a593Smuzhiyun	  processors.
78*4882a593Smuzhiyun
79*4882a593Smuzhiyunif BR2_TARGET_BAREBOX_AUX
80*4882a593Smuzhiyun
81*4882a593Smuzhiyunsource boot/barebox/barebox-aux/Config.in
82*4882a593Smuzhiyun
83*4882a593Smuzhiyunendif
84*4882a593Smuzhiyun
85*4882a593Smuzhiyunendif
86