aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-version.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel-version.mk')
-rw-r--r--include/kernel-version.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index f68fdea6f0..ee3486fdb1 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -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)