summaryrefslogtreecommitdiff
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
parent9ecec14ce0e40ef50e83dc48a44a3fd9e6fe9049 (diff)
downloadmtk-20170518-b3afad10f04007dc2b7cb588fa7e78e4e192173e.zip
mtk-20170518-b3afad10f04007dc2b7cb588fa7e78e4e192173e.tar.gz
mtk-20170518-b3afad10f04007dc2b7cb588fa7e78e4e192173e.tar.bz2
fix KERNEL_PATCHVER, properly strip -rc* suffixes
SVN-Revision: 15353
-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 1463958..07c318d 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))))