Makefile 762 B

123456789101112131415161718192021222324252627282930
  1. # SPDX-License-Identifier: GPL-2.0
  2. obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
  3. obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
  4. obj-$(CONFIG_ND_BTT) += nd_btt.o
  5. obj-$(CONFIG_ND_BLK) += nd_blk.o
  6. obj-$(CONFIG_X86_PMEM_LEGACY) += nd_e820.o
  7. obj-$(CONFIG_OF_PMEM) += of_pmem.o
  8. obj-$(CONFIG_VIRTIO_PMEM) += virtio_pmem.o nd_virtio.o
  9. nd_pmem-y := pmem.o
  10. nd_btt-y := btt.o
  11. nd_blk-y := blk.o
  12. nd_e820-y := e820.o
  13. libnvdimm-y := core.o
  14. libnvdimm-y += bus.o
  15. libnvdimm-y += dimm_devs.o
  16. libnvdimm-y += dimm.o
  17. libnvdimm-y += region_devs.o
  18. libnvdimm-y += region.o
  19. libnvdimm-y += namespace_devs.o
  20. libnvdimm-y += label.o
  21. libnvdimm-$(CONFIG_ND_CLAIM) += claim.o
  22. libnvdimm-$(CONFIG_BTT) += btt_devs.o
  23. libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o
  24. libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o