move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when...
[openwrt.git] / include / kernel-version.mk
index f68fdea..ee3486f 100644 (file)
@@ -23,4 +23,5 @@ endif
 LINUX_KERNEL_MD5SUM?=x
 
 KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
+KERNEL_PATCHVER:=$(shell echo $(LINUX_VERSION) | cut -d. -f1,2,3 | cut -d- -f1)
 
This page took 0.024072 seconds and 4 git commands to generate.