From 661c18bffdb0899bea9f30eade49199d16c72538 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 17 Sep 2011 22:23:08 +0200 Subject: barebox: add support for custom version, tarball, git and patch dir Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Peter Korsgaard --- boot/barebox/Config.in | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'boot/barebox/Config.in') diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in index a821c45c0..87bf39b4d 100644 --- a/boot/barebox/Config.in +++ b/boot/barebox/Config.in @@ -6,6 +6,59 @@ menuconfig BR2_TARGET_BAREBOX http://www.barebox.org if BR2_TARGET_BAREBOX +choice + prompt "version" + default BR2_TARGET_BAREBOX_2011_09 + help + Select the specific Barebox version you want to use + +config BR2_TARGET_BAREBOX_2011_08 + bool "2011.08" + +config BR2_TARGET_BAREBOX_2011_09 + bool "2011.09" + +config BR2_TARGET_BAREBOX_CUSTOM_TARBALL + bool "Custom tarball" + +config BR2_TARGET_BAREBOX_CUSTOM_GIT + bool "Custom Git repository" + +endchoice + +if BR2_TARGET_BAREBOX_CUSTOM_TARBALL + +config BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION + string "URL of custom Barebox tarball" + +endif + +config BR2_TARGET_BAREBOX_VERSION + string + default "2011.08.0" if BR2_TARGET_BAREBOX_2011_08 + default "2011.09.0" if BR2_TARGET_BAREBOX_2011_09 + default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL + default $BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT + +config BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR + string "custom patch dir" + help + If your board requires custom patches, add the path to the + directory containing the patches here. The patches must be + named barebox--.patch. + + Most users may leave this empty + +if BR2_TARGET_BAREBOX_CUSTOM_GIT + +config BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL + string "URL of custom Git repository" + +config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION + string "Custom Git version" + +endif + config BR2_TARGET_BAREBOX_BOARD_DEFCONFIG string "board defconfig" help -- cgit v1.2.3