xref: /linux/tools/testing/cxl/test/Kbuild (revision eeb9f5c2dcec90009d7cf12e780e7f9631993fc5)
1# SPDX-License-Identifier: GPL-2.0
2ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core
3
4obj-m += cxl_test.o
5obj-m += cxl_mock.o
6obj-m += cxl_mock_mem.o
7
8cxl_test-y := cxl.o
9cxl_mock-y := mock.o
10cxl_mock_mem-y := mem.o
11
12KBUILD_CFLAGS := $(filter-out -Wmissing-prototypes -Wmissing-declarations, $(KBUILD_CFLAGS))
13