[package] correct kernel modules dependencies against kmod-i2c-core, they already...
[openwrt.git] / package / spi-ks8995 / Makefile
index 5f5b37b..26b9d12 100644 (file)
@@ -20,6 +20,7 @@ define KernelPackage/spi-ks8995
   FILES:=$(PKG_BUILD_DIR)/spi_ks8995.$(LINUX_KMOD_SUFFIX)
   KCONFIG:=CONFIG_SPI=y \
        CONFIG_SPI_MASTER=y
   FILES:=$(PKG_BUILD_DIR)/spi_ks8995.$(LINUX_KMOD_SUFFIX)
   KCONFIG:=CONFIG_SPI=y \
        CONFIG_SPI_MASTER=y
+  AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
 endef
 
 define KernelPackage/spi-ks8995/description
 endef
 
 define KernelPackage/spi-ks8995/description
@@ -38,7 +39,6 @@ MAKE_OPTS:= \
        CROSS_COMPILE="$(TARGET_CROSS)" \
        SUBDIRS="$(PKG_BUILD_DIR)" \
        EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
        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
        $(EXTRA_KCONFIG)
 
 define Build/Prepare
This page took 0.026644 seconds and 4 git commands to generate.