xref: /openbmc/linux/drivers/w1/Makefile (revision 1da177e4)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Dallas's 1-wire bus.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsifneq ($(CONFIG_NET), y)
61da177e4SLinus TorvaldsEXTRA_CFLAGS	+= -DNETLINK_DISABLED
71da177e4SLinus Torvaldsendif
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldsobj-$(CONFIG_W1)	+= wire.o
101da177e4SLinus Torvaldswire-objs		:= w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o
111da177e4SLinus Torvalds
121da177e4SLinus Torvaldsobj-$(CONFIG_W1_MATROX)		+= matrox_w1.o
131da177e4SLinus Torvaldsobj-$(CONFIG_W1_THERM)		+= w1_therm.o
141da177e4SLinus Torvaldsobj-$(CONFIG_W1_SMEM)		+= w1_smem.o
151da177e4SLinus Torvalds
161da177e4SLinus Torvaldsobj-$(CONFIG_W1_DS9490)		+= ds9490r.o
171da177e4SLinus Torvaldsds9490r-objs    := dscore.o
181da177e4SLinus Torvalds
191da177e4SLinus Torvaldsobj-$(CONFIG_W1_DS9490_BRIDGE)	+= ds_w1_bridge.o
201da177e4SLinus Torvalds
21