summaryrefslogtreecommitdiff
path: root/package/kernel/modules/w1.mk
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-29 04:04:19 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-29 04:04:19 +0000
commit38c1e4d5bf113c67214e52053d7fe6fe9d317a1e (patch)
tree00b74b30cf89f8e8a229e63534c766c2ac83953e /package/kernel/modules/w1.mk
parent5c60dae018efc0685de0e7218f5f0a406ce46bad (diff)
package/kernel: move AddDepends calls at the end of package definitions, move back some dependencies in DEPENDS for clarity
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21248 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/w1.mk')
-rw-r--r--package/kernel/modules/w1.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/kernel/modules/w1.mk b/package/kernel/modules/w1.mk
index 1c3888e38a..1fa44e6d4e 100644
--- a/package/kernel/modules/w1.mk
+++ b/package/kernel/modules/w1.mk
@@ -35,11 +35,12 @@ endef
# 1-wire masters
#
define KernelPackage/w1-master-gpio
-$(call AddDepends/w1,@GPIO_SUPPORT)
TITLE:=GPIO 1-wire bus master driver
+ DEPENDS:=@GPIO_SUPPORT
KCONFIG:=CONFIG_W1_MASTER_GPIO
FILES:=$(W1_MASTERS_DIR)/w1-gpio.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,w1-gpio)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-master-gpio/description
@@ -53,11 +54,11 @@ $(eval $(call KernelPackage,w1-master-gpio))
# 1-wire slaves
#
define KernelPackage/w1-slave-therm
-$(call AddDepends/w1,)
TITLE:=Thermal family implementation
KCONFIG:=CONFIG_W1_SLAVE_THERM
FILES:=$(W1_SLAVES_DIR)/w1_therm.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,w1_therm)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-slave-therm/description
@@ -68,11 +69,11 @@ $(eval $(call KernelPackage,w1-slave-therm))
define KernelPackage/w1-slave-smem
-$(call AddDepends/w1,)
TITLE:=Simple 64bit memory family implementation
KCONFIG:=CONFIG_W1_SLAVE_SMEM
FILES:=$(W1_SLAVES_DIR)/w1_smem.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,w1_smem)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-slave-smem/description
@@ -81,14 +82,15 @@ endef
$(eval $(call KernelPackage,w1-slave-smem))
+
define KernelPackage/w1-slave-ds2433
-$(call AddDepends/w1,)
TITLE:=Simple 64bit memory family implementation
KCONFIG:= \
CONFIG_W1_SLAVE_DS2433 \
CONFIG_W1_SLAVE_DS2433_CRC=n
FILES:=$(W1_SLAVES_DIR)/w1_ds2433.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,w1_ds2433)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-slave-ds2433/description
@@ -99,13 +101,13 @@ $(eval $(call KernelPackage,w1-slave-ds2433))
define KernelPackage/w1-slave-ds2760
-$(call AddDepends/w1,)
TITLE:=Dallas 2760 battery monitor chip (HP iPAQ & others)
KCONFIG:= \
CONFIG_W1_SLAVE_DS2760 \
CONFIG_W1_SLAVE_DS2433_CRC=n
FILES:=$(W1_SLAVES_DIR)/w1_ds2760.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,w1_ds2760)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-slave-ds2760/description