From 4fdf829b304fa33c6455b49b505e667643e7ee70 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 23 Apr 2009 14:55:07 +0000 Subject: fix KERNEL_PATCHVER, properly strip -rc* suffixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15353 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/kernel-version.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 1463958f6..07c318d94 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)))) -- cgit v1.2.3