Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Dan Williams | b94d523 | 2015-05-19 22:54:31 -0400 | [diff] [blame] | 2 | obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o |
Dan Williams | 18da2c9 | 2015-06-09 14:13:37 -0400 | [diff] [blame] | 3 | obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o |
Vishal Verma | 5212e11 | 2015-06-25 04:20:32 -0400 | [diff] [blame] | 4 | obj-$(CONFIG_ND_BTT) += nd_btt.o |
Ross Zwisler | 047fc8a | 2015-06-25 04:21:02 -0400 | [diff] [blame] | 5 | obj-$(CONFIG_ND_BLK) += nd_blk.o |
Dan Williams | 7a67832 | 2015-08-19 00:34:34 -0400 | [diff] [blame] | 6 | obj-$(CONFIG_X86_PMEM_LEGACY) += nd_e820.o |
Oliver O'Halloran | 7171976 | 2018-04-06 15:21:14 +1000 | [diff] [blame] | 7 | obj-$(CONFIG_OF_PMEM) += of_pmem.o |
Pankaj Gupta | 6e84200 | 2019-07-05 19:33:23 +0530 | [diff] [blame] | 8 | obj-$(CONFIG_VIRTIO_PMEM) += virtio_pmem.o nd_virtio.o |
Dan Williams | 18da2c9 | 2015-06-09 14:13:37 -0400 | [diff] [blame] | 9 | |
| 10 | nd_pmem-y := pmem.o |
Dan Williams | b94d523 | 2015-05-19 22:54:31 -0400 | [diff] [blame] | 11 | |
Vishal Verma | 5212e11 | 2015-06-25 04:20:32 -0400 | [diff] [blame] | 12 | nd_btt-y := btt.o |
| 13 | |
Ross Zwisler | 047fc8a | 2015-06-25 04:21:02 -0400 | [diff] [blame] | 14 | nd_blk-y := blk.o |
| 15 | |
Dan Williams | 7a67832 | 2015-08-19 00:34:34 -0400 | [diff] [blame] | 16 | nd_e820-y := e820.o |
| 17 | |
Dan Williams | b94d523 | 2015-05-19 22:54:31 -0400 | [diff] [blame] | 18 | libnvdimm-y := core.o |
Dan Williams | 45def22 | 2015-04-26 19:26:48 -0400 | [diff] [blame] | 19 | libnvdimm-y += bus.o |
Dan Williams | e6dfb2d | 2015-04-25 03:56:17 -0400 | [diff] [blame] | 20 | libnvdimm-y += dimm_devs.o |
Dan Williams | 4d88a97 | 2015-05-31 14:41:48 -0400 | [diff] [blame] | 21 | libnvdimm-y += dimm.o |
Dan Williams | 1f7df6f | 2015-06-09 20:13:14 -0400 | [diff] [blame] | 22 | libnvdimm-y += region_devs.o |
Dan Williams | 3d88002 | 2015-05-31 15:02:11 -0400 | [diff] [blame] | 23 | libnvdimm-y += region.o |
| 24 | libnvdimm-y += namespace_devs.o |
Dan Williams | 4a826c8 | 2015-06-09 16:09:36 -0400 | [diff] [blame] | 25 | libnvdimm-y += label.o |
Dave Jiang | aa9ad44 | 2017-08-23 12:48:26 -0700 | [diff] [blame] | 26 | libnvdimm-y += badrange.o |
Dan Williams | e145574 | 2015-07-30 17:57:47 -0400 | [diff] [blame] | 27 | libnvdimm-$(CONFIG_ND_CLAIM) += claim.o |
Dan Williams | 8c2f7e8 | 2015-06-25 04:20:04 -0400 | [diff] [blame] | 28 | libnvdimm-$(CONFIG_BTT) += btt_devs.o |
Dan Williams | e145574 | 2015-07-30 17:57:47 -0400 | [diff] [blame] | 29 | libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o |
Dan Williams | cd03412 | 2016-03-11 10:15:36 -0800 | [diff] [blame] | 30 | libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o |
Dave Jiang | 4c6926a | 2018-12-06 12:40:01 -0800 | [diff] [blame] | 31 | libnvdimm-$(CONFIG_NVDIMM_KEYS) += security.o |
Dan Williams | 62974fc | 2019-09-04 15:43:31 -0700 | [diff] [blame] | 32 | |
| 33 | TOOLS := ../../tools |
| 34 | TEST_SRC := $(TOOLS)/testing/nvdimm/test |
| 35 | obj-$(CONFIG_NVDIMM_TEST_BUILD) += $(TEST_SRC)/iomap.o |