Commit | Line | Data |
---|---|---|
1da177e4 LT |
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 | ||
0a25e4d5 EP |
9 | ifeq ($(CONFIG_W1_DS2433_CRC), y) |
10 | EXTRA_CFLAGS += -DCONFIG_W1_F23_CRC | |
11 | endif | |
12 | ||
1da177e4 LT |
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 | ||
0a25e4d5 | 20 | obj-$(CONFIG_W1_DS9490) += ds9490r.o |
1da177e4 LT |
21 | ds9490r-objs := dscore.o |
22 | ||
23 | obj-$(CONFIG_W1_DS9490_BRIDGE) += ds_w1_bridge.o | |
24 | ||
80895392 | 25 | obj-$(CONFIG_W1_DS2433) += w1_ds2433.o |