diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-23 14:55:07 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-23 14:55:07 +0000 |
commit | 4fdf829b304fa33c6455b49b505e667643e7ee70 (patch) | |
tree | ab5307dbdcc60ba27a23a7a5cf22a6766cd6a4ec | |
parent | e5c7dd93ee1010d8991b1bc152b7e9a9376e48b7 (diff) |
fix KERNEL_PATCHVER, properly strip -rc* suffixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15353 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/kernel-version.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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)))) |