diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-23 14:55:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-23 14:55:07 +0000 |
commit | 3b26ec659f5c87407fb0a5b0d9428a005eb797d1 (patch) | |
tree | ab5307dbdcc60ba27a23a7a5cf22a6766cd6a4ec /include | |
parent | 03663e9687ea459134e39fc6f2c62ea409332893 (diff) | |
download | upstream-3b26ec659f5c87407fb0a5b0d9428a005eb797d1.tar.gz upstream-3b26ec659f5c87407fb0a5b0d9428a005eb797d1.tar.bz2 upstream-3b26ec659f5c87407fb0a5b0d9428a005eb797d1.zip |
fix KERNEL_PATCHVER, properly strip -rc* suffixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15353 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-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 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)))) |