X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/868a97c156a2cc6fa326bc67cedb2d7a5260023f..820eb576359dea97212089e7e0f2dc61011ed173:/package/spi-ks8995/Makefile diff --git a/package/spi-ks8995/Makefile b/package/spi-ks8995/Makefile index 4bb6d9bcf..26b9d12a4 100644 --- a/package/spi-ks8995/Makefile +++ b/package/spi-ks8995/Makefile @@ -16,9 +16,11 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/spi-ks8995 SUBMENU:=Other modules TITLE:=Micrel/Kendin KS8995 Ethernet switch control - DEPENDS:=@LINUX_2_6 +kmod-spi + DEPENDS:=@LINUX_2_6 FILES:=$(PKG_BUILD_DIR)/spi_ks8995.$(LINUX_KMOD_SUFFIX) - KCONFIG:= + KCONFIG:=CONFIG_SPI=y \ + CONFIG_SPI_MASTER=y + AUTOLOAD:=$(call AutoLoad,50,spi_ks8995) endef define KernelPackage/spi-ks8995/description @@ -37,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