summaryrefslogtreecommitdiff
path: root/target/linux/package/spca5xx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package/spca5xx/Makefile')
-rw-r--r--target/linux/package/spca5xx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/package/spca5xx/Makefile b/target/linux/package/spca5xx/Makefile
index 95a48a9a30..d61a04a80c 100644
--- a/target/linux/package/spca5xx/Makefile
+++ b/target/linux/package/spca5xx/Makefile
@@ -18,6 +18,7 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
ifeq ($(KERNEL_DIR),)
KERNEL_DIR:=$(LINUX_DIR)
endif
+KERNEL_VERSION=$(shell echo "$(LINUX_VERSION)" | cut -d. -f1,2)
include $(TOPDIR)/package/rules.mk