X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e66151f7945dbff921c2a376753c0ed51338e0de..5986668ca9d41f7b6aee1c9890345853e157aa6b:/package/kernel/modules/i2c.mk?ds=sidebyside diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk index ed626fcf0..14fbcf8e9 100644 --- a/package/kernel/modules/i2c.mk +++ b/package/kernel/modules/i2c.mk @@ -8,7 +8,7 @@ I2C_MENU:=I2C support ModuleConfVar=$(word 1,$(subst :,$(space),$(1))) -ModuleFullPath=$(if $(findstring y,$($(call ModuleConfVar,$(1)))),,$(LINUX_DIR)/$(word 2,$(subst :,$(space),$(1))).$(LINUX_KMOD_SUFFIX)) +ModuleFullPath=$(if $(findstring y,$($(call ModuleConfVar,$(1)))),,$(LINUX_DIR)/$(word 2,$(subst :,$(space),$(1))).ko) ModuleKconfig=$(foreach mod,$(1),$(call ModuleConfVar,$(mod))) ModuleFiles=$(foreach mod,$(1),$(call ModuleFullPath,$(mod))) ModuleAuto=$(call AutoLoad,$(1),$(foreach mod,$(2),$(basename $(notdir $(call ModuleFullPath,$(mod))))),$(3)) @@ -27,7 +27,7 @@ I2C_CORE_MODULES:= \ define KernelPackage/i2c-core $(call i2c_defaults,$(I2C_CORE_MODULES),51) TITLE:=I2C support - DEPENDS:=@LINUX_2_6 + DEPENDS:=@!TARGET_etrax endef define KernelPackage/i2c-core/description