[packages] et131x: use in-kernel driver for 2.6.30+
authorNicolas Thill <nico@openwrt.org>
Wed, 24 Mar 2010 16:33:56 +0000 (16:33 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 24 Mar 2010 16:33:56 +0000 (16:33 +0000)
SVN-Revision: 20405

net/et131x/Makefile

index 4c909ad..cd3e914 100644 (file)
@@ -11,7 +11,7 @@ PKG_MD5SUM:=9496422c7d218f27bae1be42a04d122e
 
 include $(INCLUDE_DIR)/package.mk
 
-ifeq ($(CONFIG_LINUX_2_6_31),)
+ifneq ($(CONFIG_LINUX_2_6_25),)
   MODULE:=$(PKG_BUILD_DIR)/et131x.$(LINUX_KMOD_SUFFIX)
 else
   MODULE:=$(LINUX_DIR)/drivers/staging/et131x/et131x.$(LINUX_KMOD_SUFFIX)
@@ -33,7 +33,7 @@ define KernelPackage/et131x/description
   This package contains the et131x kernel module.
 endef
 
-ifeq ($(CONFIG_LINUX_2_6_31),)
+ifneq ($(CONFIG_LINUX_2_6_25),)
   define Build/Compile
        $(MAKE) -C "$(LINUX_DIR)" \
                ARCH="$(LINUX_KARCH)" \