mirror of https://github.com/hak5/openwrt.git
git-kernel: $(SUBDIR) should always be $(LINUX_VERSION)
Before SUBDIR was set to $(PATCHVER) which may or may not include the minor version number of the linux kernel version. Usually it doesn't. So the git-clone'd linux kernel was packed without the minor version number taken into account, which broke further processing, as it expected the extracted dir being named linux-$(LINUX_VERSION) (=with minor version) rather than linux-$(PATCHVER) (=without minor version). Changing SUBDIR to $(LINUX_VERSION) creates consistent behaviour here. Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>lede-17.01
parent
29a4a17f55
commit
c76da77573
|
@ -60,7 +60,7 @@ define Download/git-kernel
|
||||||
PROTO:=git
|
PROTO:=git
|
||||||
VERSION:=$(CONFIG_KERNEL_GIT_BRANCH)
|
VERSION:=$(CONFIG_KERNEL_GIT_BRANCH)
|
||||||
FILE:=$(LINUX_SOURCE)
|
FILE:=$(LINUX_SOURCE)
|
||||||
SUBDIR:=linux-$(KERNEL_PATCHVER)
|
SUBDIR:=linux-$(LINUX_VERSION)
|
||||||
OPTS:=$(KERNEL_GIT_OPTS)
|
OPTS:=$(KERNEL_GIT_OPTS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue