projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gcc: fix linaro 4.5.1 version check
[openwrt.git]
/
package
/
kernel
/
modules
/
w1.mk
diff --git
a/package/kernel/modules/w1.mk
b/package/kernel/modules/w1.mk
index
0e75742
..
47d8f36
100644
(file)
--- a/
package/kernel/modules/w1.mk
+++ b/
package/kernel/modules/w1.mk
@@
-1,5
+1,5
@@
#
#
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008
-2010
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-12,9
+12,8
@@
W1_SLAVES_DIR:=$(LINUX_DIR)/drivers/w1/slaves
define KernelPackage/w1
SUBMENU:=$(W1_MENU)
TITLE:=Dallas's 1-wire support
define KernelPackage/w1
SUBMENU:=$(W1_MENU)
TITLE:=Dallas's 1-wire support
- DEPENDS:=@LINUX_2_6
KCONFIG:=CONFIG_W1
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
AUTOLOAD:=$(call AutoLoad,50,wire)
endef
@@
-24,9
+23,10
@@
endef
$(eval $(call KernelPackage,w1))
$(eval $(call KernelPackage,w1))
-define w1dep
+
+define AddDepends/w1
SUBMENU:=$(W1_MENU)
SUBMENU:=$(W1_MENU)
- DEPENDS
:
=kmod-w1 $(1)
+ DEPENDS
+
=kmod-w1 $(1)
endef
endef
@@
-34,11
+34,12
@@
endef
# 1-wire masters
#
define KernelPackage/w1-master-gpio
# 1-wire masters
#
define KernelPackage/w1-master-gpio
- $(call w1dep,@GPIO_SUPPORT)
TITLE:=GPIO 1-wire bus master driver
TITLE:=GPIO 1-wire bus master driver
+ DEPENDS:=@GPIO_SUPPORT
KCONFIG:=CONFIG_W1_MASTER_GPIO
KCONFIG:=CONFIG_W1_MASTER_GPIO
- FILES:=$(W1_MASTERS_DIR)/w1-gpio.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,51,w1-gpio)
+ FILES:=$(W1_MASTERS_DIR)/w1-gpio.ko
+ AUTOLOAD:=$(call AutoLoad,60,w1-gpio)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-master-gpio/description
endef
define KernelPackage/w1-master-gpio/description
@@
-51,13
+52,12
@@
$(eval $(call KernelPackage,w1-master-gpio))
#
# 1-wire slaves
#
#
# 1-wire slaves
#
-ifeq (1,1)
define KernelPackage/w1-slave-therm
define KernelPackage/w1-slave-therm
- $(call w1dep,)
TITLE:=Thermal family implementation
KCONFIG:=CONFIG_W1_SLAVE_THERM
TITLE:=Thermal family implementation
KCONFIG:=CONFIG_W1_SLAVE_THERM
- FILES:=$(W1_SLAVES_DIR)/w1_therm.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,52,w1_therm)
+ FILES:=$(W1_SLAVES_DIR)/w1_therm.ko
+ AUTOLOAD:=$(call AutoLoad,70,w1_therm)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-slave-therm/description
endef
define KernelPackage/w1-slave-therm/description
@@
-68,11
+68,11
@@
$(eval $(call KernelPackage,w1-slave-therm))
define KernelPackage/w1-slave-smem
define KernelPackage/w1-slave-smem
- $(call w1dep,)
TITLE:=Simple 64bit memory family implementation
KCONFIG:=CONFIG_W1_SLAVE_SMEM
TITLE:=Simple 64bit memory family implementation
KCONFIG:=CONFIG_W1_SLAVE_SMEM
- FILES:=$(W1_SLAVES_DIR)/w1_smem.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,52,w1_smem)
+ FILES:=$(W1_SLAVES_DIR)/w1_smem.ko
+ AUTOLOAD:=$(call AutoLoad,70,w1_smem)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-slave-smem/description
endef
define KernelPackage/w1-slave-smem/description
@@
-81,14
+81,15
@@
endef
$(eval $(call KernelPackage,w1-slave-smem))
$(eval $(call KernelPackage,w1-slave-smem))
+
define KernelPackage/w1-slave-ds2433
define KernelPackage/w1-slave-ds2433
- $(call w1dep,)
TITLE:=Simple 64bit memory family implementation
KCONFIG:= \
CONFIG_W1_SLAVE_DS2433 \
CONFIG_W1_SLAVE_DS2433_CRC=n
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,52,w1_ds2433)
+ FILES:=$(W1_SLAVES_DIR)/w1_ds2433.ko
+ AUTOLOAD:=$(call AutoLoad,70,w1_ds2433)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-slave-ds2433/description
endef
define KernelPackage/w1-slave-ds2433/description
@@
-99,13
+100,13
@@
$(eval $(call KernelPackage,w1-slave-ds2433))
define KernelPackage/w1-slave-ds2760
define KernelPackage/w1-slave-ds2760
- $(call w1dep,)
TITLE:=Dallas 2760 battery monitor chip (HP iPAQ & others)
KCONFIG:= \
CONFIG_W1_SLAVE_DS2760 \
CONFIG_W1_SLAVE_DS2433_CRC=n
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,52,w1_ds2760)
+ FILES:=$(W1_SLAVES_DIR)/w1_ds2760.ko
+ AUTOLOAD:=$(call AutoLoad,70,w1_ds2760)
+ $(call AddDepends/w1)
endef
define KernelPackage/w1-slave-ds2760/description
endef
define KernelPackage/w1-slave-ds2760/description
@@
-113,4
+114,3
@@
define KernelPackage/w1-slave-ds2760/description
endef
$(eval $(call KernelPackage,w1-slave-ds2760))
endef
$(eval $(call KernelPackage,w1-slave-ds2760))
-endif
\ No newline at end of file
This page took
0.026922 seconds
and
4
git commands to generate.