summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/package/spca5xx/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-11 21:13:08 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-11 21:13:08 +0000
commit8d1840301d1daa24bcfce378f90794eb80d33b39 (patch)
tree1536ce085eaab18eb7ec4e507731e793fe621486 /openwrt/target/linux/package/spca5xx/Makefile
parent5baca135064838222b208a60a3595826e04bb416 (diff)
fix 2.4 build error introduced by changeset:2606
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2613 3c298f89-4303-0410-b956-a3cf2f4a3e73
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