Makefile 550 B

12345678910111213141516171819202122232425
  1. #
  2. # Makefile for the Dallas's 1-wire bus.
  3. #
  4. ifneq ($(CONFIG_NET), y)
  5. EXTRA_CFLAGS += -DNETLINK_DISABLED
  6. endif
  7. ifeq ($(CONFIG_W1_DS2433_CRC), y)
  8. EXTRA_CFLAGS += -DCONFIG_W1_F23_CRC
  9. endif
  10. obj-$(CONFIG_W1) += wire.o
  11. wire-objs := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o
  12. obj-$(CONFIG_W1_MATROX) += matrox_w1.o
  13. obj-$(CONFIG_W1_THERM) += w1_therm.o
  14. obj-$(CONFIG_W1_SMEM) += w1_smem.o
  15. obj-$(CONFIG_W1_DS9490) += ds9490r.o
  16. ds9490r-objs := dscore.o
  17. obj-$(CONFIG_W1_DS9490_BRIDGE) += ds_w1_bridge.o
  18. obj-$(CONFIG_W1_DS2433) += w1_ds2433.o