• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1ldflags-y += --wrap=ioremap_wc
2ldflags-y += --wrap=memremap
3ldflags-y += --wrap=devm_ioremap_nocache
4ldflags-y += --wrap=devm_memremap
5ldflags-y += --wrap=devm_memunmap
6ldflags-y += --wrap=ioremap_nocache
7ldflags-y += --wrap=iounmap
8ldflags-y += --wrap=memunmap
9ldflags-y += --wrap=__devm_request_region
10ldflags-y += --wrap=__request_region
11ldflags-y += --wrap=__release_region
12
13DRIVERS := ../../../drivers
14NVDIMM_SRC := $(DRIVERS)/nvdimm
15ACPI_SRC := $(DRIVERS)/acpi
16
17obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
18obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
19obj-$(CONFIG_ND_BTT) += nd_btt.o
20obj-$(CONFIG_ND_BLK) += nd_blk.o
21obj-$(CONFIG_X86_PMEM_LEGACY) += nd_e820.o
22obj-$(CONFIG_ACPI_NFIT) += nfit.o
23
24nfit-y := $(ACPI_SRC)/nfit.o
25nfit-y += config_check.o
26
27nd_pmem-y := $(NVDIMM_SRC)/pmem.o
28nd_pmem-y += config_check.o
29
30nd_btt-y := $(NVDIMM_SRC)/btt.o
31nd_btt-y += config_check.o
32
33nd_blk-y := $(NVDIMM_SRC)/blk.o
34nd_blk-y += config_check.o
35
36nd_e820-y := $(NVDIMM_SRC)/e820.o
37nd_e820-y += config_check.o
38
39libnvdimm-y := $(NVDIMM_SRC)/core.o
40libnvdimm-y += $(NVDIMM_SRC)/bus.o
41libnvdimm-y += $(NVDIMM_SRC)/dimm_devs.o
42libnvdimm-y += $(NVDIMM_SRC)/dimm.o
43libnvdimm-y += $(NVDIMM_SRC)/region_devs.o
44libnvdimm-y += $(NVDIMM_SRC)/region.o
45libnvdimm-y += $(NVDIMM_SRC)/namespace_devs.o
46libnvdimm-y += $(NVDIMM_SRC)/label.o
47libnvdimm-$(CONFIG_ND_CLAIM) += $(NVDIMM_SRC)/claim.o
48libnvdimm-$(CONFIG_BTT) += $(NVDIMM_SRC)/btt_devs.o
49libnvdimm-$(CONFIG_NVDIMM_PFN) += $(NVDIMM_SRC)/pfn_devs.o
50libnvdimm-y += config_check.o
51
52obj-m += test/
53