mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
Add a type2 accelerator mock driver for the platform device that simulates a CXL type2 device. The driver exercises the same minimal API calls that a real CXL type2 driver would utilize. Tested-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Link: https://patch.msgid.link/20260629221104.3891733-8-dave.jiang@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
17 lines
434 B
Makefile
17 lines
434 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core
|
|
|
|
obj-m += cxl_test.o
|
|
obj-m += cxl_mock.o
|
|
obj-m += cxl_mock_mem.o
|
|
obj-m += cxl_translate.o
|
|
obj-m += cxl_mock_accel.o
|
|
|
|
cxl_test-y := cxl.o
|
|
cxl_test-y += hmem_test.o
|
|
cxl_mock-y := mock.o
|
|
cxl_mock_mem-y := mem.o
|
|
cxl_mock_accel-y := accel.o
|
|
|
|
KBUILD_CFLAGS := $(filter-out -Wmissing-prototypes -Wmissing-declarations, $(KBUILD_CFLAGS))
|