blob: 01fb54391470e78cc60959028528d3a7ac2b2971 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Dallas's 1-wire bus.
3#
4
5ifneq ($(CONFIG_NET), y)
6EXTRA_CFLAGS += -DNETLINK_DISABLED
7endif
8
Evgeniy Polyakov0a25e4d2005-08-17 15:24:37 +04009ifeq ($(CONFIG_W1_DS2433_CRC), y)
10EXTRA_CFLAGS += -DCONFIG_W1_F23_CRC
11endif
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013obj-$(CONFIG_W1) += wire.o
14wire-objs := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o
15
16obj-$(CONFIG_W1_MATROX) += matrox_w1.o
17obj-$(CONFIG_W1_THERM) += w1_therm.o
18obj-$(CONFIG_W1_SMEM) += w1_smem.o
19
Evgeniy Polyakov0a25e4d2005-08-17 15:24:37 +040020obj-$(CONFIG_W1_DS9490) += ds9490r.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070021ds9490r-objs := dscore.o
22
23obj-$(CONFIG_W1_DS9490_BRIDGE) += ds_w1_bridge.o
24
Evgeniy Polyakov80895392005-08-11 17:27:50 +040025obj-$(CONFIG_W1_DS2433) += w1_ds2433.o