[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / spi-ks8995 / Makefile
index f464750..0be9fe3 100644 (file)
@@ -14,10 +14,9 @@ PKG_RELEASE:=1
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/spi-ks8995
-  SUBMENU:=Other modules
+  SUBMENU:=SPI Support
   TITLE:=Micrel/Kendin KS8995 Ethernet switch control
-  DEPENDS:=@LINUX_2_6
-  FILES:=$(PKG_BUILD_DIR)/spi_ks8995.$(LINUX_KMOD_SUFFIX)
+  FILES:=$(PKG_BUILD_DIR)/spi_ks8995.ko
   KCONFIG:=CONFIG_SPI=y \
        CONFIG_SPI_MASTER=y
   AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
@@ -39,7 +38,6 @@ MAKE_OPTS:= \
        CROSS_COMPILE="$(TARGET_CROSS)" \
        SUBDIRS="$(PKG_BUILD_DIR)" \
        EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
-       LINUXINCLUDE="-I$(LINUX_DIR)/include -include linux/autoconf.h" \
        $(EXTRA_KCONFIG)
 
 define Build/Prepare
This page took 0.037464 seconds and 4 git commands to generate.