X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/38c1e4d5bf113c67214e52053d7fe6fe9d317a1e..3aa06b8113dc7a12291e939e625c341cd82da4e3:/package/kernel/modules/w1.mk diff --git a/package/kernel/modules/w1.mk b/package/kernel/modules/w1.mk index 1fa44e6d4..47d8f3682 100644 --- a/package/kernel/modules/w1.mk +++ b/package/kernel/modules/w1.mk @@ -12,9 +12,8 @@ W1_SLAVES_DIR:=$(LINUX_DIR)/drivers/w1/slaves define KernelPackage/w1 SUBMENU:=$(W1_MENU) TITLE:=Dallas's 1-wire support - DEPENDS:=@LINUX_2_6 KCONFIG:=CONFIG_W1 - FILES:=$(LINUX_DIR)/drivers/w1/wire.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/w1/wire.ko AUTOLOAD:=$(call AutoLoad,50,wire) endef @@ -38,7 +37,7 @@ define KernelPackage/w1-master-gpio TITLE:=GPIO 1-wire bus master driver DEPENDS:=@GPIO_SUPPORT KCONFIG:=CONFIG_W1_MASTER_GPIO - FILES:=$(W1_MASTERS_DIR)/w1-gpio.$(LINUX_KMOD_SUFFIX) + FILES:=$(W1_MASTERS_DIR)/w1-gpio.ko AUTOLOAD:=$(call AutoLoad,60,w1-gpio) $(call AddDepends/w1) endef @@ -56,7 +55,7 @@ $(eval $(call KernelPackage,w1-master-gpio)) define KernelPackage/w1-slave-therm TITLE:=Thermal family implementation KCONFIG:=CONFIG_W1_SLAVE_THERM - FILES:=$(W1_SLAVES_DIR)/w1_therm.$(LINUX_KMOD_SUFFIX) + FILES:=$(W1_SLAVES_DIR)/w1_therm.ko AUTOLOAD:=$(call AutoLoad,70,w1_therm) $(call AddDepends/w1) endef @@ -71,7 +70,7 @@ $(eval $(call KernelPackage,w1-slave-therm)) define KernelPackage/w1-slave-smem TITLE:=Simple 64bit memory family implementation KCONFIG:=CONFIG_W1_SLAVE_SMEM - FILES:=$(W1_SLAVES_DIR)/w1_smem.$(LINUX_KMOD_SUFFIX) + FILES:=$(W1_SLAVES_DIR)/w1_smem.ko AUTOLOAD:=$(call AutoLoad,70,w1_smem) $(call AddDepends/w1) endef @@ -88,7 +87,7 @@ define KernelPackage/w1-slave-ds2433 KCONFIG:= \ CONFIG_W1_SLAVE_DS2433 \ CONFIG_W1_SLAVE_DS2433_CRC=n - FILES:=$(W1_SLAVES_DIR)/w1_ds2433.$(LINUX_KMOD_SUFFIX) + FILES:=$(W1_SLAVES_DIR)/w1_ds2433.ko AUTOLOAD:=$(call AutoLoad,70,w1_ds2433) $(call AddDepends/w1) endef @@ -105,7 +104,7 @@ define KernelPackage/w1-slave-ds2760 KCONFIG:= \ CONFIG_W1_SLAVE_DS2760 \ CONFIG_W1_SLAVE_DS2433_CRC=n - FILES:=$(W1_SLAVES_DIR)/w1_ds2760.$(LINUX_KMOD_SUFFIX) + FILES:=$(W1_SLAVES_DIR)/w1_ds2760.ko AUTOLOAD:=$(call AutoLoad,70,w1_ds2760) $(call AddDepends/w1) endef