From b3afad10f04007dc2b7cb588fa7e78e4e192173e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 23 Apr 2009 14:55:07 +0000 Subject: [PATCH] fix KERNEL_PATCHVER, properly strip -rc* suffixes SVN-Revision: 15353 --- include/kernel-version.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 1463958f67..07c318d942 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -45,5 +45,5 @@ split_version=$(subst ., ,$(1)) merge_version=$(subst $(space),.,$(1)) KERNEL_BASE=$(firstword $(subst -, ,$(LINUX_VERSION))) 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))))