bio.h: remove a very outdated comment
[linux/fpc-iii.git] / tools / testing / nvdimm / Kbuild
blobad6dd05430192ffdba8d163f9855942fa75b4099
1 ldflags-y += --wrap=ioremap_wc
2 ldflags-y += --wrap=memremap
3 ldflags-y += --wrap=devm_ioremap_nocache
4 ldflags-y += --wrap=devm_memremap
5 ldflags-y += --wrap=devm_memunmap
6 ldflags-y += --wrap=ioremap_nocache
7 ldflags-y += --wrap=iounmap
8 ldflags-y += --wrap=memunmap
9 ldflags-y += --wrap=__devm_request_region
10 ldflags-y += --wrap=__devm_release_region
11 ldflags-y += --wrap=__request_region
12 ldflags-y += --wrap=__release_region
13 ldflags-y += --wrap=devm_memremap_pages
14 ldflags-y += --wrap=insert_resource
15 ldflags-y += --wrap=remove_resource
17 DRIVERS := ../../../drivers
18 NVDIMM_SRC := $(DRIVERS)/nvdimm
19 ACPI_SRC := $(DRIVERS)/acpi/nfit
20 DAX_SRC := $(DRIVERS)/dax
21 ccflags-y := -I$(src)/$(NVDIMM_SRC)/
23 obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
24 obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
25 obj-$(CONFIG_ND_BTT) += nd_btt.o
26 obj-$(CONFIG_ND_BLK) += nd_blk.o
27 obj-$(CONFIG_X86_PMEM_LEGACY) += nd_e820.o
28 obj-$(CONFIG_ACPI_NFIT) += nfit.o
29 obj-$(CONFIG_DEV_DAX) += dax.o
30 obj-$(CONFIG_DEV_DAX_PMEM) += dax_pmem.o
32 nfit-y := $(ACPI_SRC)/core.o
33 nfit-$(CONFIG_X86_MCE) += $(ACPI_SRC)/mce.o
34 nfit-y += config_check.o
36 nd_pmem-y := $(NVDIMM_SRC)/pmem.o
37 nd_pmem-y += pmem-dax.o
38 nd_pmem-y += config_check.o
40 nd_btt-y := $(NVDIMM_SRC)/btt.o
41 nd_btt-y += config_check.o
43 nd_blk-y := $(NVDIMM_SRC)/blk.o
44 nd_blk-y += config_check.o
46 nd_e820-y := $(NVDIMM_SRC)/e820.o
47 nd_e820-y += config_check.o
49 dax-y := $(DAX_SRC)/dax.o
50 dax-y += config_check.o
52 dax_pmem-y := $(DAX_SRC)/pmem.o
53 dax_pmem-y += config_check.o
55 libnvdimm-y := $(NVDIMM_SRC)/core.o
56 libnvdimm-y += $(NVDIMM_SRC)/bus.o
57 libnvdimm-y += $(NVDIMM_SRC)/dimm_devs.o
58 libnvdimm-y += $(NVDIMM_SRC)/dimm.o
59 libnvdimm-y += $(NVDIMM_SRC)/region_devs.o
60 libnvdimm-y += $(NVDIMM_SRC)/region.o
61 libnvdimm-y += $(NVDIMM_SRC)/namespace_devs.o
62 libnvdimm-y += $(NVDIMM_SRC)/label.o
63 libnvdimm-$(CONFIG_ND_CLAIM) += $(NVDIMM_SRC)/claim.o
64 libnvdimm-$(CONFIG_BTT) += $(NVDIMM_SRC)/btt_devs.o
65 libnvdimm-$(CONFIG_NVDIMM_PFN) += $(NVDIMM_SRC)/pfn_devs.o
66 libnvdimm-$(CONFIG_NVDIMM_DAX) += $(NVDIMM_SRC)/dax_devs.o
67 libnvdimm-y += config_check.o
69 obj-m += test/