fix 2.4 build error introduced by changeset:2606
[openwrt/svn-archive/archive.git] / openwrt / target / linux / package / spca5xx / Makefile
index 95a48a9a30eeefebd922363f3b851dc34df48023..d61a04a80c1713b9c9d42fd2acba89b9b512c049 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