summaryrefslogtreecommitdiffstats
path: root/boot/barebox/Config.in
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-11-03 06:05:10 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-03 17:20:15 +0100
commit1e9b963255fd20c2532f71c62d5c80eb5643d4c9 (patch)
tree1c65aee2545cc5a9992cba16ea615672cc11b7de /boot/barebox/Config.in
parent51b5cf20bbd07f7ac5855108b17bd08e6a9edf69 (diff)
downloadbuildroot-novena-1e9b963255fd20c2532f71c62d5c80eb5643d4c9.tar.gz
buildroot-novena-1e9b963255fd20c2532f71c62d5c80eb5643d4c9.zip
barebox: Allow to pass a custom configuration file
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot/barebox/Config.in')
-rw-r--r--boot/barebox/Config.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in
index bd70e58b8..d6ce8dd68 100644
--- a/boot/barebox/Config.in
+++ b/boot/barebox/Config.in
@@ -67,12 +67,33 @@ config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION
endif
+
+choice
+ prompt "Barebox configuration"
+ default BR2_TARGET_BAREBOX_USE_DEFCONFIG
+
+config BR2_TARGET_BAREBOX_USE_DEFCONFIG
+ bool "Using a defconfig"
+
+config BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG
+ bool "Using a custom config file"
+
+endchoice
+
config BR2_TARGET_BAREBOX_BOARD_DEFCONFIG
string "board defconfig"
+ depends on BR2_TARGET_BAREBOX_USE_DEFCONFIG
help
Name of the board for which Barebox should be built, without
the _defconfig suffix.
+
+config BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE
+ string "Configuration file path"
+ depends on BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG
+ help
+ Path to the barebox configuration file
+
config BR2_TARGET_BAREBOX_BAREBOXENV
bool "bareboxenv tool in target"
help