blob: 29203f3d3069491f8f8d1a151c7586b73fb7a50d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Dan Williamsb94d5232015-05-19 22:54:31 -04002obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
Dan Williams18da2c92015-06-09 14:13:37 -04003obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
Vishal Verma5212e112015-06-25 04:20:32 -04004obj-$(CONFIG_ND_BTT) += nd_btt.o
Ross Zwisler047fc8a2015-06-25 04:21:02 -04005obj-$(CONFIG_ND_BLK) += nd_blk.o
Dan Williams7a678322015-08-19 00:34:34 -04006obj-$(CONFIG_X86_PMEM_LEGACY) += nd_e820.o
Oliver O'Halloran71719762018-04-06 15:21:14 +10007obj-$(CONFIG_OF_PMEM) += of_pmem.o
Pankaj Gupta6e842002019-07-05 19:33:23 +05308obj-$(CONFIG_VIRTIO_PMEM) += virtio_pmem.o nd_virtio.o
Dan Williams18da2c92015-06-09 14:13:37 -04009
10nd_pmem-y := pmem.o
Dan Williamsb94d5232015-05-19 22:54:31 -040011
Vishal Verma5212e112015-06-25 04:20:32 -040012nd_btt-y := btt.o
13
Ross Zwisler047fc8a2015-06-25 04:21:02 -040014nd_blk-y := blk.o
15
Dan Williams7a678322015-08-19 00:34:34 -040016nd_e820-y := e820.o
17
Dan Williamsb94d5232015-05-19 22:54:31 -040018libnvdimm-y := core.o
Dan Williams45def222015-04-26 19:26:48 -040019libnvdimm-y += bus.o
Dan Williamse6dfb2d2015-04-25 03:56:17 -040020libnvdimm-y += dimm_devs.o
Dan Williams4d88a972015-05-31 14:41:48 -040021libnvdimm-y += dimm.o
Dan Williams1f7df6f2015-06-09 20:13:14 -040022libnvdimm-y += region_devs.o
Dan Williams3d880022015-05-31 15:02:11 -040023libnvdimm-y += region.o
24libnvdimm-y += namespace_devs.o
Dan Williams4a826c82015-06-09 16:09:36 -040025libnvdimm-y += label.o
Dave Jiangaa9ad442017-08-23 12:48:26 -070026libnvdimm-y += badrange.o
Dan Williamse1455742015-07-30 17:57:47 -040027libnvdimm-$(CONFIG_ND_CLAIM) += claim.o
Dan Williams8c2f7e82015-06-25 04:20:04 -040028libnvdimm-$(CONFIG_BTT) += btt_devs.o
Dan Williamse1455742015-07-30 17:57:47 -040029libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o
Dan Williamscd034122016-03-11 10:15:36 -080030libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o
Dave Jiang4c6926a2018-12-06 12:40:01 -080031libnvdimm-$(CONFIG_NVDIMM_KEYS) += security.o
Dan Williams62974fc2019-09-04 15:43:31 -070032
33TOOLS := ../../tools
34TEST_SRC := $(TOOLS)/testing/nvdimm/test
35obj-$(CONFIG_NVDIMM_TEST_BUILD) += $(TEST_SRC)/iomap.o