rework the 2.6 Makefile to match the 2.4 one,
[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.021448 seconds and 4 git commands to generate.