summaryrefslogtreecommitdiff
path: root/drivers/w1/Makefile
blob: 0c2aa22d8c04ca6d0d89406431381bac62e8ac39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Makefile for the Dallas's 1-wire bus.
#

ifneq ($(CONFIG_NET), y)
EXTRA_CFLAGS	+= -DNETLINK_DISABLED
endif

ifeq ($(CONFIG_W1_DS2433_CRC), y)
EXTRA_CFLAGS	+= -DCONFIG_W1_F23_CRC
endif

obj-$(CONFIG_W1)	+= wire.o
wire-objs		:= w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o

obj-y			+= masters/ slaves/