summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/package/spca5xx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/package/spca5xx/Makefile')
-rw-r--r--openwrt/target/linux/package/spca5xx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/spca5xx/Makefile b/openwrt/target/linux/package/spca5xx/Makefile
index 95a48a9a3..d61a04a80 100644
--- a/openwrt/target/linux/package/spca5xx/Makefile
+++ b/openwrt/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