aboutsummaryrefslogtreecommitdiff
path: root/boot/at91bootstrap3/Config.in
diff options
context:
space:
mode:
authorGravatar Angelo Compagnucci <angelo.compagnucci@gmail.com>2015-06-02 10:46:20 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-14 23:42:48 +0200
commitc839605ff078fd0c26c1cd4485e14643f0de453a (patch)
treedfe2f2382346a7533a83123d426c090266cbd9e6 /boot/at91bootstrap3/Config.in
parentb3d4c6a6fba906bc93804c1f1f6d04e761e310b5 (diff)
downloadbuildroot-c839605ff078fd0c26c1cd4485e14643f0de453a.tar.gz
buildroot-c839605ff078fd0c26c1cd4485e14643f0de453a.tar.bz2
boot/at91bootstrap3: download via custom git url
This patch adds the option to download at91bootstrap3 from a custom git URL. This is a requirement for all that boards that use a custom at91bootstrap3 version. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/at91bootstrap3/Config.in')
-rw-r--r--boot/at91bootstrap3/Config.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/boot/at91bootstrap3/Config.in b/boot/at91bootstrap3/Config.in
index 8ac40ed963..9f2f49bff1 100644
--- a/boot/at91bootstrap3/Config.in
+++ b/boot/at91bootstrap3/Config.in
@@ -10,6 +10,40 @@ config BR2_TARGET_AT91BOOTSTRAP3
if BR2_TARGET_AT91BOOTSTRAP3
+choice
+
+ prompt "AT91 Bootstrap 3 version"
+
+config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
+ bool "3.7.2"
+
+config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+ bool "Custom Git repository"
+ help
+ This option allows Buildroot to get the AT91 Bootstrap 3 source
+ code from a Git repository.
+
+endchoice
+
+if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+
+config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
+ string "URL of custom repository"
+
+config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
+ string "Custom repository version"
+ help
+ Revision to use in the typical format used by Git
+ E.G. a sha id, a tag, branch, ..
+
+endif
+
+config BR2_TARGET_AT91BOOTSTRAP3_VERSION
+ string
+ default "v3.7.2" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
+ default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
+ if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
string "custom patch dir"
help