X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1beb5b56913ba4e87eefa2cd938938956cd5e9fc..f0589f7290ba958bbefaf5394b155d37c72a185e:/package/i2c-gpio-custom/Makefile?ds=sidebyside diff --git a/package/i2c-gpio-custom/Makefile b/package/i2c-gpio-custom/Makefile index fd448cec4..8585a5ab5 100644 --- a/package/i2c-gpio-custom/Makefile +++ b/package/i2c-gpio-custom/Makefile @@ -9,16 +9,15 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=i2c-gpio-custom -PKG_RELEASE:=1 +PKG_RELEASE:=2 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) - AUTOLOAD:=$(call AutoLoad,58,i2c-gpio-custom) + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +kmod-i2c-gpio + FILES:=$(PKG_BUILD_DIR)/i2c-gpio-custom.ko KCONFIG:= endef @@ -38,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