|
@@ -52,6 +52,12 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT
|
|
This option allows Buildroot to get the Linux kernel source
|
|
This option allows Buildroot to get the Linux kernel source
|
|
code from a Git repository.
|
|
code from a Git repository.
|
|
|
|
|
|
|
|
+config BR2_LINUX_KERNEL_CUSTOM_HG
|
|
|
|
+ bool "Custom Mercurial repository"
|
|
|
|
+ help
|
|
|
|
+ This option allows Buildroot to get the Linux kernel source
|
|
|
|
+ code from a Mercurial repository.
|
|
|
|
+
|
|
endchoice
|
|
endchoice
|
|
|
|
|
|
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
|
|
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
|
|
@@ -62,24 +68,32 @@ config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
|
string "URL of custom kernel tarball"
|
|
string "URL of custom kernel tarball"
|
|
depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
|
depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
|
|
|
|
|
-config BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL
|
|
|
|
- string "URL of custom Git repository"
|
|
|
|
- depends on BR2_LINUX_KERNEL_CUSTOM_GIT
|
|
|
|
|
|
+if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG
|
|
|
|
|
|
-config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
|
|
|
|
- string "Custom Git version"
|
|
|
|
- depends on BR2_LINUX_KERNEL_CUSTOM_GIT
|
|
|
|
|
|
+config BR2_LINUX_KERNEL_CUSTOM_REPO_URL
|
|
|
|
+ string "URL of custom repository"
|
|
|
|
+ default BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL \
|
|
|
|
+ if BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL != "" # legacy
|
|
|
|
+
|
|
|
|
+config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION
|
|
|
|
+ string "Custom repository version"
|
|
|
|
+ default BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION \
|
|
|
|
+ if BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION != "" # legacy
|
|
help
|
|
help
|
|
- Git revision to use in the format used by git rev-parse,
|
|
|
|
|
|
+ Revision to use in the typical format used by Git/Mercurial
|
|
E.G. a sha id, a tag, branch, ..
|
|
E.G. a sha id, a tag, branch, ..
|
|
|
|
|
|
|
|
+endif
|
|
|
|
+
|
|
config BR2_LINUX_KERNEL_VERSION
|
|
config BR2_LINUX_KERNEL_VERSION
|
|
string
|
|
string
|
|
default "3.11.6" if BR2_LINUX_KERNEL_LATEST_VERSION
|
|
default "3.11.6" if BR2_LINUX_KERNEL_LATEST_VERSION
|
|
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
|
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
|
- default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
|
|
|
|
|
+ default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
|
|
|
+ if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
|
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
|
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
|
- default BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION if BR2_LINUX_KERNEL_CUSTOM_GIT
|
|
|
|
|
|
+ default BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION \
|
|
|
|
+ if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG
|
|
|
|
|
|
#
|
|
#
|
|
# Patch selection
|
|
# Patch selection
|