Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Dallas's 1-wire bus. |
| 3 | # |
| 4 | |
| 5 | ifneq ($(CONFIG_NET), y) |
| 6 | EXTRA_CFLAGS += -DNETLINK_DISABLED |
| 7 | endif |
| 8 | |
Evgeniy Polyakov | 0a25e4d | 2005-08-17 15:24:37 +0400 | [diff] [blame] | 9 | ifeq ($(CONFIG_W1_DS2433_CRC), y) |
| 10 | EXTRA_CFLAGS += -DCONFIG_W1_F23_CRC |
| 11 | endif |
| 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_W1) += wire.o |
| 14 | wire-objs := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o |
| 15 | |
| 16 | obj-$(CONFIG_W1_MATROX) += matrox_w1.o |
| 17 | obj-$(CONFIG_W1_THERM) += w1_therm.o |
| 18 | obj-$(CONFIG_W1_SMEM) += w1_smem.o |
| 19 | |
Evgeniy Polyakov | 0a25e4d | 2005-08-17 15:24:37 +0400 | [diff] [blame] | 20 | obj-$(CONFIG_W1_DS9490) += ds9490r.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | ds9490r-objs := dscore.o |
| 22 | |
| 23 | obj-$(CONFIG_W1_DS9490_BRIDGE) += ds_w1_bridge.o |
| 24 | |
Evgeniy Polyakov | 8089539 | 2005-08-11 17:27:50 +0400 | [diff] [blame] | 25 | obj-$(CONFIG_W1_DS2433) += w1_ds2433.o |