X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/a456d44645230228885d6c5265a6078f2d63cc13..31a40f97ef54e10e2b3dc3cacb9cff436657c586:/package/i2c-gpio-custom/Makefile diff --git a/package/i2c-gpio-custom/Makefile b/package/i2c-gpio-custom/Makefile index 43ce55596..8585a5ab5 100644 --- a/package/i2c-gpio-custom/Makefile +++ b/package/i2c-gpio-custom/Makefile @@ -16,8 +16,8 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/i2c-gpio-custom SUBMENU:=I2C support TITLE:=Custom GPIO-based I2C device - DEPENDS:=@GPIO_SUPPORT kmod-i2c-core +kmod-i2c-gpio - FILES:=$(PKG_BUILD_DIR)/i2c-gpio-custom.$(LINUX_KMOD_SUFFIX) + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-i2c-gpio + FILES:=$(PKG_BUILD_DIR)/i2c-gpio-custom.ko KCONFIG:= endef @@ -37,7 +37,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