Pull bugzilla-5653 into release branch
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / w1 / Makefile
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
9 ifeq ($(CONFIG_W1_DS2433_CRC), y)
10 EXTRA_CFLAGS += -DCONFIG_W1_F23_CRC
11 endif
12
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-y += masters/ slaves/
17