fix KERNEL_PATCHVER for rc kernels

SVN-Revision: 14808
This commit is contained in:
Felix Fietkau 2009-03-09 15:05:57 +00:00
parent 7f4bc03adb
commit 5810934476

View File

@ -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))))