summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-23 14:55:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-23 14:55:07 +0000
commitb3afad10f04007dc2b7cb588fa7e78e4e192173e (patch)
treee523f0e4e221bb73fb910be5814960113410f073 /include
parent9ecec14ce0e40ef50e83dc48a44a3fd9e6fe9049 (diff)
downloadmaster-31e0f0ae-b3afad10f04007dc2b7cb588fa7e78e4e192173e.tar.gz
master-31e0f0ae-b3afad10f04007dc2b7cb588fa7e78e4e192173e.tar.bz2
master-31e0f0ae-b3afad10f04007dc2b7cb588fa7e78e4e192173e.zip
fix KERNEL_PATCHVER, properly strip -rc* suffixes
SVN-Revision: 15353
Diffstat (limited to 'include')
-rw-r--r--include/kernel-version.mk2
1 files changed, 1 insertions, 1 deletions
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))))