remove mkdep fix, now handled by ../generic/209-mkdep_fix.patch
[openwrt.git] / openwrt / target / linux / rules.mk
index 2c0fa09..f7e1086 100644 (file)
@@ -4,6 +4,11 @@ LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
        -e 's/sh[234]/sh/' \
 )
 
+ifeq ($(KERNEL),2.6)
+LINUX_KMOD_SUFFIX=ko
+else
+LINUX_KMOD_SUFFIX=o
+endif
 
 define KMOD_template
 ifeq ($$(strip $(4)),)
This page took 0.024649 seconds and 4 git commands to generate.