switch to binutils 2.19.1 by default
[openwrt.git] / include / kernel-version.mk
index 003fc08..c3e3e14 100644 (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))))
 
This page took 0.019808 seconds and 4 git commands to generate.