Makefile 550 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8
#
# Makefile for the Dallas's 1-wire bus.
#

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

9 10 11 12
ifeq ($(CONFIG_W1_DS2433_CRC), y)
EXTRA_CFLAGS	+= -DCONFIG_W1_F23_CRC
endif

L
Linus Torvalds 已提交
13 14 15 16 17 18 19
obj-$(CONFIG_W1)	+= wire.o
wire-objs		:= w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o

obj-$(CONFIG_W1_MATROX)		+= matrox_w1.o
obj-$(CONFIG_W1_THERM)		+= w1_therm.o
obj-$(CONFIG_W1_SMEM)		+= w1_smem.o

20
obj-$(CONFIG_W1_DS9490)		+= ds9490r.o
L
Linus Torvalds 已提交
21 22 23 24
ds9490r-objs    := dscore.o

obj-$(CONFIG_W1_DS9490_BRIDGE)	+= ds_w1_bridge.o

25
obj-$(CONFIG_W1_DS2433)		+= w1_ds2433.o