X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fkernel-build.mk;h=c3658c216ae176ed92f621c742a68573eeb57c3a;hb=370078466c28bf9be0cc080e4e97724141cf2912;hp=5c58e443df43b815a6b066455f5f5fb6e8ac30ad;hpb=74d00a8c3849c1340efd713eb94b786e304c201f;p=openwrt%2Fopenwrt.git 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)