summaryrefslogtreecommitdiff
path: root/tools/testing/cxl/test/Kbuild
blob: 6b192789785612d810c6ff577b1ac47aadd9e9b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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

cxl_test-y := cxl.o
cxl_mock-y := mock.o
cxl_mock_mem-y := mem.o

KBUILD_CFLAGS := $(filter-out -Wmissing-prototypes -Wmissing-declarations, $(KBUILD_CFLAGS))