diff options
Diffstat (limited to 'drivers/w1/Makefile')
-rw-r--r-- | drivers/w1/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/w1/Makefile b/drivers/w1/Makefile index d894a9896b18..01fb54391470 100644 --- a/drivers/w1/Makefile +++ b/drivers/w1/Makefile | |||
@@ -6,6 +6,10 @@ ifneq ($(CONFIG_NET), y) | |||
6 | EXTRA_CFLAGS += -DNETLINK_DISABLED | 6 | EXTRA_CFLAGS += -DNETLINK_DISABLED |
7 | endif | 7 | endif |
8 | 8 | ||
9 | ifeq ($(CONFIG_W1_DS2433_CRC), y) | ||
10 | EXTRA_CFLAGS += -DCONFIG_W1_F23_CRC | ||
11 | endif | ||
12 | |||
9 | obj-$(CONFIG_W1) += wire.o | 13 | obj-$(CONFIG_W1) += wire.o |
10 | wire-objs := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o | 14 | wire-objs := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o |
11 | 15 | ||
@@ -13,7 +17,7 @@ obj-$(CONFIG_W1_MATROX) += matrox_w1.o | |||
13 | obj-$(CONFIG_W1_THERM) += w1_therm.o | 17 | obj-$(CONFIG_W1_THERM) += w1_therm.o |
14 | obj-$(CONFIG_W1_SMEM) += w1_smem.o | 18 | obj-$(CONFIG_W1_SMEM) += w1_smem.o |
15 | 19 | ||
16 | obj-$(CONFIG_W1_DS9490) += ds9490r.o | 20 | obj-$(CONFIG_W1_DS9490) += ds9490r.o |
17 | ds9490r-objs := dscore.o | 21 | ds9490r-objs := dscore.o |
18 | 22 | ||
19 | obj-$(CONFIG_W1_DS9490_BRIDGE) += ds_w1_bridge.o | 23 | obj-$(CONFIG_W1_DS9490_BRIDGE) += ds_w1_bridge.o |