linux/drivers/nvdimm/Makefile
<<
>>
Prefs
   1# SPDX-License-Identifier: GPL-2.0
   2obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
   3obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
   4obj-$(CONFIG_ND_BTT) += nd_btt.o
   5obj-$(CONFIG_ND_BLK) += nd_blk.o
   6obj-$(CONFIG_X86_PMEM_LEGACY) += nd_e820.o
   7obj-$(CONFIG_OF_PMEM) += of_pmem.o
   8obj-$(CONFIG_VIRTIO_PMEM) += virtio_pmem.o nd_virtio.o
   9
  10nd_pmem-y := pmem.o
  11
  12nd_btt-y := btt.o
  13
  14nd_blk-y := blk.o
  15
  16nd_e820-y := e820.o
  17
  18libnvdimm-y := core.o
  19libnvdimm-y += bus.o
  20libnvdimm-y += dimm_devs.o
  21libnvdimm-y += dimm.o
  22libnvdimm-y += region_devs.o
  23libnvdimm-y += region.o
  24libnvdimm-y += namespace_devs.o
  25libnvdimm-y += label.o
  26libnvdimm-y += badrange.o
  27libnvdimm-$(CONFIG_ND_CLAIM) += claim.o
  28libnvdimm-$(CONFIG_BTT) += btt_devs.o
  29libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o
  30libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o
  31libnvdimm-$(CONFIG_NVDIMM_KEYS) += security.o
  32
  33TOOLS := ../../tools
  34TEST_SRC := $(TOOLS)/testing/nvdimm/test
  35obj-$(CONFIG_NVDIMM_TEST_BUILD) += $(TEST_SRC)/iomap.o
  36