1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 ldflags-y += --wrap=acpi_table_parse_cedt 2 ldflags-y += --wrap=acpi_table_parse_cedt 3 ldflags-y += --wrap=is_acpi_device_node 3 ldflags-y += --wrap=is_acpi_device_node 4 ldflags-y += --wrap=acpi_evaluate_integer 4 ldflags-y += --wrap=acpi_evaluate_integer 5 ldflags-y += --wrap=acpi_pci_find_root 5 ldflags-y += --wrap=acpi_pci_find_root 6 ldflags-y += --wrap=nvdimm_bus_register 6 ldflags-y += --wrap=nvdimm_bus_register 7 ldflags-y += --wrap=devm_cxl_port_enumerate_dp 7 ldflags-y += --wrap=devm_cxl_port_enumerate_dports 8 ldflags-y += --wrap=devm_cxl_setup_hdm 8 ldflags-y += --wrap=devm_cxl_setup_hdm 9 ldflags-y += --wrap=devm_cxl_add_passthrough_d 9 ldflags-y += --wrap=devm_cxl_add_passthrough_decoder 10 ldflags-y += --wrap=devm_cxl_enumerate_decoder 10 ldflags-y += --wrap=devm_cxl_enumerate_decoders 11 ldflags-y += --wrap=cxl_await_media_ready 11 ldflags-y += --wrap=cxl_await_media_ready 12 ldflags-y += --wrap=cxl_hdm_decode_init 12 ldflags-y += --wrap=cxl_hdm_decode_init 13 ldflags-y += --wrap=cxl_dvsec_rr_decode 13 ldflags-y += --wrap=cxl_dvsec_rr_decode 14 ldflags-y += --wrap=devm_cxl_add_rch_dport 14 ldflags-y += --wrap=devm_cxl_add_rch_dport 15 ldflags-y += --wrap=cxl_rcd_component_reg_phys 15 ldflags-y += --wrap=cxl_rcd_component_reg_phys 16 ldflags-y += --wrap=cxl_endpoint_parse_cdat << 17 ldflags-y += --wrap=cxl_dport_init_ras_reporti << 18 16 19 DRIVERS := ../../../drivers 17 DRIVERS := ../../../drivers 20 CXL_SRC := $(DRIVERS)/cxl 18 CXL_SRC := $(DRIVERS)/cxl 21 CXL_CORE_SRC := $(DRIVERS)/cxl/core 19 CXL_CORE_SRC := $(DRIVERS)/cxl/core 22 ccflags-y := -I$(srctree)/drivers/cxl/ 20 ccflags-y := -I$(srctree)/drivers/cxl/ 23 ccflags-y += -D__mock=__weak 21 ccflags-y += -D__mock=__weak 24 ccflags-y += -DTRACE_INCLUDE_PATH=$(CXL_CORE_S 22 ccflags-y += -DTRACE_INCLUDE_PATH=$(CXL_CORE_SRC) -I$(srctree)/drivers/cxl/core/ 25 23 26 obj-m += cxl_acpi.o 24 obj-m += cxl_acpi.o 27 25 28 cxl_acpi-y := $(CXL_SRC)/acpi.o 26 cxl_acpi-y := $(CXL_SRC)/acpi.o 29 cxl_acpi-y += mock_acpi.o 27 cxl_acpi-y += mock_acpi.o 30 cxl_acpi-y += config_check.o 28 cxl_acpi-y += config_check.o 31 cxl_acpi-y += cxl_acpi_test.o 29 cxl_acpi-y += cxl_acpi_test.o 32 30 33 obj-m += cxl_pmem.o 31 obj-m += cxl_pmem.o 34 32 35 cxl_pmem-y := $(CXL_SRC)/pmem.o 33 cxl_pmem-y := $(CXL_SRC)/pmem.o 36 cxl_pmem-y += $(CXL_SRC)/security.o 34 cxl_pmem-y += $(CXL_SRC)/security.o 37 cxl_pmem-y += config_check.o 35 cxl_pmem-y += config_check.o 38 cxl_pmem-y += cxl_pmem_test.o 36 cxl_pmem-y += cxl_pmem_test.o 39 37 40 obj-m += cxl_port.o 38 obj-m += cxl_port.o 41 39 42 cxl_port-y := $(CXL_SRC)/port.o 40 cxl_port-y := $(CXL_SRC)/port.o 43 cxl_port-y += config_check.o 41 cxl_port-y += config_check.o 44 cxl_port-y += cxl_port_test.o 42 cxl_port-y += cxl_port_test.o 45 43 46 44 47 obj-m += cxl_mem.o 45 obj-m += cxl_mem.o 48 46 49 cxl_mem-y := $(CXL_SRC)/mem.o 47 cxl_mem-y := $(CXL_SRC)/mem.o 50 cxl_mem-y += config_check.o 48 cxl_mem-y += config_check.o 51 cxl_mem-y += cxl_mem_test.o 49 cxl_mem-y += cxl_mem_test.o 52 50 53 obj-m += cxl_core.o 51 obj-m += cxl_core.o 54 52 55 cxl_core-y := $(CXL_CORE_SRC)/port.o 53 cxl_core-y := $(CXL_CORE_SRC)/port.o 56 cxl_core-y += $(CXL_CORE_SRC)/pmem.o 54 cxl_core-y += $(CXL_CORE_SRC)/pmem.o 57 cxl_core-y += $(CXL_CORE_SRC)/regs.o 55 cxl_core-y += $(CXL_CORE_SRC)/regs.o 58 cxl_core-y += $(CXL_CORE_SRC)/memdev.o 56 cxl_core-y += $(CXL_CORE_SRC)/memdev.o 59 cxl_core-y += $(CXL_CORE_SRC)/mbox.o 57 cxl_core-y += $(CXL_CORE_SRC)/mbox.o 60 cxl_core-y += $(CXL_CORE_SRC)/pci.o 58 cxl_core-y += $(CXL_CORE_SRC)/pci.o 61 cxl_core-y += $(CXL_CORE_SRC)/hdm.o 59 cxl_core-y += $(CXL_CORE_SRC)/hdm.o 62 cxl_core-y += $(CXL_CORE_SRC)/pmu.o 60 cxl_core-y += $(CXL_CORE_SRC)/pmu.o 63 cxl_core-y += $(CXL_CORE_SRC)/cdat.o << 64 cxl_core-$(CONFIG_TRACING) += $(CXL_CORE_SRC)/ 61 cxl_core-$(CONFIG_TRACING) += $(CXL_CORE_SRC)/trace.o 65 cxl_core-$(CONFIG_CXL_REGION) += $(CXL_CORE_SR 62 cxl_core-$(CONFIG_CXL_REGION) += $(CXL_CORE_SRC)/region.o 66 cxl_core-y += config_check.o 63 cxl_core-y += config_check.o 67 cxl_core-y += cxl_core_test.o 64 cxl_core-y += cxl_core_test.o 68 cxl_core-y += cxl_core_exports.o << 69 << 70 KBUILD_CFLAGS := $(filter-out -Wmissing-protot << 71 65 72 obj-m += test/ 66 obj-m += test/
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.