diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-01-22 08:18:04 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-01-22 08:18:04 +0000 |
commit | 2ffc0e4fbf491df27a6002a299c90212b1416b29 (patch) | |
tree | a6fcbfe93d0bb7135dcf5dc274d09e4d41224111 /package/kernel/modules/w1.mk | |
parent | 9cc33cbbe650e6b0284713375158195fc5759b4d (diff) | |
download | master-187ad058-2ffc0e4fbf491df27a6002a299c90212b1416b29.tar.gz master-187ad058-2ffc0e4fbf491df27a6002a299c90212b1416b29.tar.bz2 master-187ad058-2ffc0e4fbf491df27a6002a299c90212b1416b29.zip |
[package] kernel: specify kmod packages dependencies in a uniform way
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19271 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/w1.mk')
-rw-r--r-- | package/kernel/modules/w1.mk | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/package/kernel/modules/w1.mk b/package/kernel/modules/w1.mk index aa1de25516..68d502799a 100644 --- a/package/kernel/modules/w1.mk +++ b/package/kernel/modules/w1.mk @@ -24,9 +24,10 @@ endef $(eval $(call KernelPackage,w1)) -define w1dep + +define KernelPackage/w1/Depends SUBMENU:=$(W1_MENU) - DEPENDS:=kmod-w1 $(1) + DEPENDS+=kmod-w1 $(1) endef @@ -34,7 +35,7 @@ endef # 1-wire masters # define KernelPackage/w1-master-gpio - $(call w1dep,@GPIO_SUPPORT) +$(call KernelPackage/w1/Depends,@GPIO_SUPPORT) TITLE:=GPIO 1-wire bus master driver KCONFIG:=CONFIG_W1_MASTER_GPIO FILES:=$(W1_MASTERS_DIR)/w1-gpio.$(LINUX_KMOD_SUFFIX) @@ -52,7 +53,7 @@ $(eval $(call KernelPackage,w1-master-gpio)) # 1-wire slaves # define KernelPackage/w1-slave-therm - $(call w1dep,) +$(call KernelPackage/w1/Depends,) TITLE:=Thermal family implementation KCONFIG:=CONFIG_W1_SLAVE_THERM FILES:=$(W1_SLAVES_DIR)/w1_therm.$(LINUX_KMOD_SUFFIX) @@ -67,7 +68,7 @@ $(eval $(call KernelPackage,w1-slave-therm)) define KernelPackage/w1-slave-smem - $(call w1dep,) +$(call KernelPackage/w1/Depends,) TITLE:=Simple 64bit memory family implementation KCONFIG:=CONFIG_W1_SLAVE_SMEM FILES:=$(W1_SLAVES_DIR)/w1_smem.$(LINUX_KMOD_SUFFIX) @@ -81,7 +82,7 @@ endef $(eval $(call KernelPackage,w1-slave-smem)) define KernelPackage/w1-slave-ds2433 - $(call w1dep,) +$(call KernelPackage/w1/Depends,) TITLE:=Simple 64bit memory family implementation KCONFIG:= \ CONFIG_W1_SLAVE_DS2433 \ @@ -98,7 +99,7 @@ $(eval $(call KernelPackage,w1-slave-ds2433)) define KernelPackage/w1-slave-ds2760 - $(call w1dep,) +$(call KernelPackage/w1/Depends,) TITLE:=Dallas 2760 battery monitor chip (HP iPAQ & others) KCONFIG:= \ CONFIG_W1_SLAVE_DS2760 \ |