fix KERNEL_PATCHVER, properly strip -rc* suffixes
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 23 Apr 2009 14:55:07 +0000 (14:55 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 23 Apr 2009 14:55:07 +0000 (14:55 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15353 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/kernel-version.mk

index 1463958..07c318d 100644 (file)
@@ -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))))
 
This page took 0.047757 seconds and 4 git commands to generate.