diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-09 15:05:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-09 15:05:57 +0000 |
commit | 5810934476a39b04950eda2c8be1b73f4ad8ee7f (patch) | |
tree | d5f4335fc7e25a7636f5f2dcdc54323c41d080af /include | |
parent | 7f4bc03adba090389160e0a5d86d72b006572c99 (diff) | |
download | upstream-5810934476a39b04950eda2c8be1b73f4ad8ee7f.tar.gz upstream-5810934476a39b04950eda2c8be1b73f4ad8ee7f.tar.bz2 upstream-5810934476a39b04950eda2c8be1b73f4ad8ee7f.zip |
fix KERNEL_PATCHVER for rc kernels
SVN-Revision: 14808
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-version.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 003fc085b3..c3e3e140a0 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -40,6 +40,7 @@ LINUX_KERNEL_MD5SUM?=x split_version=$(subst ., ,$(1)) merge_version=$(subst $(space),.,$(1)) -KERNEL=$(call merge_version,$(wordlist 1,2,$(call split_version,$(LINUX_VERSION)))) +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)))) |