|
@@ -31,6 +31,9 @@ config BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_GIT
|
|
|
bool "Custom Git repository"
|
|
|
|
|
|
+config BR2_TARGET_UBOOT_CUSTOM_HG
|
|
|
+ bool "Custom Mercurial repository"
|
|
|
+
|
|
|
endchoice
|
|
|
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
|
|
@@ -47,9 +50,11 @@ endif
|
|
|
config BR2_TARGET_UBOOT_VERSION
|
|
|
string
|
|
|
default "2013.10" if BR2_TARGET_UBOOT_LATEST_VERSION
|
|
|
- default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE if BR2_TARGET_UBOOT_CUSTOM_VERSION
|
|
|
+ default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
|
|
|
+ if BR2_TARGET_UBOOT_CUSTOM_VERSION
|
|
|
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
|
|
- default BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION if BR2_TARGET_UBOOT_CUSTOM_GIT
|
|
|
+ default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \
|
|
|
+ if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG
|
|
|
|
|
|
config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
|
|
|
string "custom patch dir"
|
|
@@ -60,13 +65,17 @@ config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
|
|
|
|
|
|
Most users may leave this empty
|
|
|
|
|
|
-if BR2_TARGET_UBOOT_CUSTOM_GIT
|
|
|
+if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG
|
|
|
|
|
|
-config BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL
|
|
|
- string "URL of custom Git repository"
|
|
|
+config BR2_TARGET_UBOOT_CUSTOM_REPO_URL
|
|
|
+ string "URL of custom repository"
|
|
|
+ default BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL \
|
|
|
+ if BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL != "" # legacy
|
|
|
|
|
|
-config BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION
|
|
|
- string "Custom Git version"
|
|
|
+config BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION
|
|
|
+ string "Custom repository version"
|
|
|
+ default BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION \
|
|
|
+ if BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION != "" # legacy
|
|
|
|
|
|
endif
|
|
|
|