xref: /linux/tools/testing/cxl/test/Kbuild (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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