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
20 libnvdimm-y
+= dimm_devs.o
22 libnvdimm-y
+= region_devs.o
23 libnvdimm-y
+= region.o
24 libnvdimm-y
+= namespace_devs.o
25 libnvdimm-y
+= label.o
26 libnvdimm-y
+= badrange.o
27 libnvdimm-
$(CONFIG_ND_CLAIM
) += claim.o
28 libnvdimm-
$(CONFIG_BTT
) += btt_devs.o
29 libnvdimm-
$(CONFIG_NVDIMM_PFN
) += pfn_devs.o
30 libnvdimm-
$(CONFIG_NVDIMM_DAX
) += dax_devs.o
31 libnvdimm-
$(CONFIG_NVDIMM_KEYS
) += security.o
34 TEST_SRC
:= $(TOOLS
)/testing
/nvdimm
/test
35 obj-
$(CONFIG_NVDIMM_TEST_BUILD
) += $(TEST_SRC
)/iomap.o