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 8 9nd_pmem-y := pmem.o 10 11nd_btt-y := btt.o 12 13nd_blk-y := blk.o 14 15nd_e820-y := e820.o 16 17libnvdimm-y := core.o 18libnvdimm-y += bus.o 19libnvdimm-y += dimm_devs.o 20libnvdimm-y += dimm.o 21libnvdimm-y += region_devs.o 22libnvdimm-y += region.o 23libnvdimm-y += namespace_devs.o 24libnvdimm-y += label.o 25libnvdimm-y += badrange.o 26libnvdimm-$(CONFIG_ND_CLAIM) += claim.o 27libnvdimm-$(CONFIG_BTT) += btt_devs.o 28libnvdimm-$(CONFIG_NVDIMM_PFN) += pfn_devs.o 29libnvdimm-$(CONFIG_NVDIMM_DAX) += dax_devs.o 30libnvdimm-$(CONFIG_NVDIMM_KEYS) += security.o 31