aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2018-01-17 14:05:57 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-01-27 16:46:45 +0100
commitab6a96f3f52320f834e7e4a12ec411d77bab7686 (patch)
tree5fa82d448262e48f7baf197bebc5978e6aa5f546 /include
parent285791934be0c5a3531e25a05736868b186e9843 (diff)
downloadupstream-ab6a96f3f52320f834e7e4a12ec411d77bab7686.tar.gz
upstream-ab6a96f3f52320f834e7e4a12ec411d77bab7686.tar.bz2
upstream-ab6a96f3f52320f834e7e4a12ec411d77bab7686.zip
Config-devel.in: rename symbol KERNEL_GIT_BRANCH -> KERNEL_GIT_REF
The Download/git rule will do a `git checkout <git-ref>`. So, we can use any ref we want. No need to limit just to branches. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/kernel-build.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 5c58e443df..c3658c216a 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -50,14 +50,10 @@ ifneq ($(strip $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY)),"")
KERNEL_GIT_OPTS+=--reference $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY)
endif
-ifneq ($(strip $(CONFIG_KERNEL_GIT_BRANCH)),"")
- KERNEL_GIT_OPTS+=--branch $(CONFIG_KERNEL_GIT_BRANCH)
-endif
-
define Download/git-kernel
URL:=$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI))
PROTO:=git
- VERSION:=$(CONFIG_KERNEL_GIT_BRANCH)
+ VERSION:=$(CONFIG_KERNEL_GIT_REF)
FILE:=$(LINUX_SOURCE)
SUBDIR:=linux-$(LINUX_VERSION)
OPTS:=$(KERNEL_GIT_OPTS)