--- Makefile.oirg	2021-05-07 19:54:54.000000000 +0800
+++ Makefile	2021-05-13 21:55:15.595107961 +0800
@@ -8,6 +8,8 @@
 SHELL := /bin/bash
 BACKPORT_DIR := $(shell pwd)
 
+kver ?= $(shell uname -r)
+
 KMODDIR ?= updates
 ifneq ($(origin KLIB), undefined)
 KMODPATH_ARG := "INSTALL_MOD_PATH=$(KLIB)"
@@ -84,8 +86,6 @@
 				echo ""							;\
 			done								\
 		) > Kconfig.kernel							;\
-		kver=$$($(MAKE) --no-print-directory -C $(KLIB_BUILD) kernelversion |	\
-			sed 's/^\(\([3-5]\|2\.6\)\.[0-9]\+\).*/\1/;t;d')		;\
 		test "$$kver" != "" || echo "Kernel version parse failed!"		;\
 		test "$$kver" != ""							;\
 		kvers="$$(seq 14 39 | sed 's/^/2.6./')"					;\
