X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7f399f7b29d1c3c8929f179f1331d8c0e979acf2..8fbd46b60a9c6a3cdf2c29fe15e49c63cad93c73:/package/spi-ks8995/Makefile?ds=sidebyside diff --git a/package/spi-ks8995/Makefile b/package/spi-ks8995/Makefile index 5f5b37bb3..26b9d12a4 100644 --- a/package/spi-ks8995/Makefile +++ b/package/spi-ks8995/Makefile @@ -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 + AUTOLOAD:=$(call AutoLoad,50,spi_ks8995) endef define KernelPackage/spi-ks8995/description @@ -38,7 +39,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