fix 2.4 build error introduced by changeset:2606
[openwrt.git] / openwrt / target / linux / package / spca5xx / Makefile
index 95a48a9..d61a04a 100644 (file)
@@ -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