a250f3b3440d76c79df4a2555e988c2a167ce63e
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / boot / barebox / Config.in
1 config BR2_TARGET_BAREBOX
2         bool "Barebox"
3         help
4           The Barebox bootloader, formerly known as U-Boot v2.
5
6           http://www.barebox.org
7
8 if BR2_TARGET_BAREBOX
9 choice
10         prompt "version"
11         help
12           Select the specific Barebox version you want to use
13
14 config BR2_TARGET_BAREBOX_LATEST_VERSION
15         bool "2015.04.0"
16
17 config BR2_TARGET_BAREBOX_CUSTOM_VERSION
18         bool "Custom version"
19         help
20           This option allows to use a specific official versions
21
22 config BR2_TARGET_BAREBOX_CUSTOM_TARBALL
23         bool "Custom tarball"
24
25 config BR2_TARGET_BAREBOX_CUSTOM_GIT
26         bool "Custom Git repository"
27
28 endchoice
29
30 config BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE
31         string "Barebox version"
32         depends on BR2_TARGET_BAREBOX_CUSTOM_VERSION
33
34 if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
35
36 config BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION
37         string "URL of custom Barebox tarball"
38
39 endif
40
41 config BR2_TARGET_BAREBOX_VERSION
42         string
43         default "2015.04.0"     if BR2_TARGET_BAREBOX_LATEST_VERSION
44         default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
45         default "custom"        if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
46         default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
47
48 config BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR
49         string "custom patch dir"
50         help
51           If your board requires custom patches, add the path to the
52           directory containing the patches here. The patches must be
53           named barebox-<version>-<something>.patch.
54
55           Most users may leave this empty
56
57 if BR2_TARGET_BAREBOX_CUSTOM_GIT
58
59 config BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL
60         string "URL of custom Git repository"
61
62 config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION
63         string "Custom Git version"
64
65 endif
66
67
68 choice
69         prompt "Barebox configuration"
70         default BR2_TARGET_BAREBOX_USE_DEFCONFIG
71
72 config BR2_TARGET_BAREBOX_USE_DEFCONFIG
73         bool "Using a defconfig"
74
75 config BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG
76         bool "Using a custom config file"
77
78 endchoice
79
80 config BR2_TARGET_BAREBOX_BOARD_DEFCONFIG
81         string "board defconfig"
82         depends on BR2_TARGET_BAREBOX_USE_DEFCONFIG
83         help
84           Name of the board for which Barebox should be built, without
85           the _defconfig suffix.
86
87
88 config BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE
89         string "Configuration file path"
90         depends on BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG
91         help
92           Path to the barebox configuration file
93
94 config BR2_TARGET_BAREBOX_BAREBOXENV
95         bool "bareboxenv tool in target"
96         help
97           Install bareboxenv tool in target.
98
99 config BR2_TARGET_BAREBOX_CUSTOM_ENV
100         bool "Generate an environment image"
101         help
102           Generate a custom environment image. This environment will
103           contain the variables and scripts to be used at boot by
104           barebox.
105
106 config BR2_TARGET_BAREBOX_CUSTOM_ENV_PATH
107         string "Environment path"
108         depends on BR2_TARGET_BAREBOX_CUSTOM_ENV
109         help
110           Path to the directory containing the custom barebox
111           environment. Depending on your setup, it will probably be
112           based on either the content of the defaultenv or
113           defaultenv-2 directories in the barebox source code, plus
114           the additions needed. The output will be an image in the
115           barebox devfs format, stored in the images directory, with
116           the same name as the directory name given here.
117
118 endif