fix KERNEL_PATCHVER, properly strip -rc* suffixes
SVN-Revision: 15353
This commit is contained in:
parent
9ecec14ce0
commit
b3afad10f0
1 changed files with 1 additions and 1 deletions
|
@ -45,5 +45,5 @@ split_version=$(subst ., ,$(1))
|
||||||
merge_version=$(subst $(space),.,$(1))
|
merge_version=$(subst $(space),.,$(1))
|
||||||
KERNEL_BASE=$(firstword $(subst -, ,$(LINUX_VERSION)))
|
KERNEL_BASE=$(firstword $(subst -, ,$(LINUX_VERSION)))
|
||||||
KERNEL=$(call merge_version,$(wordlist 1,2,$(call split_version,$(KERNEL_BASE))))
|
KERNEL=$(call merge_version,$(wordlist 1,2,$(call split_version,$(KERNEL_BASE))))
|
||||||
KERNEL_PATCHVER=$(call merge_version,$(wordlist 1,3,$(call split_version,$(LINUX_VERSION))))
|
KERNEL_PATCHVER=$(call merge_version,$(wordlist 1,3,$(call split_version,$(KERNEL_BASE))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue